pub struct StreamLinkTx { /* private fields */ }Expand description
Sending half of a StreamLink.
Internally uses a bounded mpsc channel (capacity 1) to serialize writes and provide backpressure. A background task drains the channel and writes length-prefixed frames to the underlying stream.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StreamLinkTx
impl RefUnwindSafe for StreamLinkTx
impl Send for StreamLinkTx
impl Sync for StreamLinkTx
impl Unpin for StreamLinkTx
impl UnsafeUnpin for StreamLinkTx
impl UnwindSafe for StreamLinkTx
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