pub struct ReceivePackServerOptions<'a> {
pub quiet: bool,
pub remote_stderr: Option<&'a mut Vec<u8>>,
pub run_post_hooks: bool,
}Fields§
§quiet: bool§remote_stderr: Option<&'a mut Vec<u8>>When set, traditional receive-pack hook stderr is captured for the push
client to print as remote: lines (in-process local transport).
run_post_hooks: boolRun post-receive/post-update after ref updates. The local push client runs these itself so hook stdin matches send-pack ordering.
Auto Trait Implementations§
impl<'a> !UnwindSafe for ReceivePackServerOptions<'a>
impl<'a> Freeze for ReceivePackServerOptions<'a>
impl<'a> RefUnwindSafe for ReceivePackServerOptions<'a>
impl<'a> Send for ReceivePackServerOptions<'a>
impl<'a> Sync for ReceivePackServerOptions<'a>
impl<'a> Unpin for ReceivePackServerOptions<'a>
impl<'a> UnsafeUnpin for ReceivePackServerOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more