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