pub struct FramedWriter<C> {
inner: WriteHalf<Box<dyn ByteStream>>,
encoder: C,
buffer: ByteBuffer,
peer_endpoint: Option<Endpoint>,
local_endpoint: Option<Endpoint>,
}Expand description
Write half of a framed connection.
Fields§
§inner: WriteHalf<Box<dyn ByteStream>>§encoder: C§buffer: ByteBuffer§peer_endpoint: Option<Endpoint>§local_endpoint: Option<Endpoint>Implementations§
Source§impl<C> FramedWriter<C>
impl<C> FramedWriter<C>
Trait Implementations§
Source§impl<C> MessageTx for FramedWriter<C>
impl<C> MessageTx for FramedWriter<C>
Auto Trait Implementations§
impl<C> Freeze for FramedWriter<C>where
C: Freeze,
impl<C> RefUnwindSafe for FramedWriter<C>where
C: RefUnwindSafe,
impl<C> Send for FramedWriter<C>where
C: Send,
impl<C> Sync for FramedWriter<C>where
C: Sync,
impl<C> Unpin for FramedWriter<C>where
C: Unpin,
impl<C> UnsafeUnpin for FramedWriter<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for FramedWriter<C>where
C: UnwindSafe,
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