pub struct PackOutput<'a, W: Write> { /* private fields */ }Expand description
Complete-pack sink passed to host pack writers. It forwards raw pack bytes or frames channel 1 according to the client’s negotiated sideband mode. Uses a fixed 1 KiB buffer; packet sizes stay within both protocol limits. The server flushes the final packet and terminator after the writer succeeds.
Trait Implementations§
Auto Trait Implementations§
impl<'a, W> !UnwindSafe for PackOutput<'a, W>
impl<'a, W> Freeze for PackOutput<'a, W>
impl<'a, W> RefUnwindSafe for PackOutput<'a, W>where
&'a mut W: RefUnwindSafe,
impl<'a, W> Send for PackOutput<'a, W>
impl<'a, W> Sync for PackOutput<'a, W>
impl<'a, W> Unpin for PackOutput<'a, W>
impl<'a, W> UnsafeUnpin for PackOutput<'a, W>where
&'a mut W: UnsafeUnpin,
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