Struct slimproto::FramedRead
source · pub struct FramedRead<R, D> { /* private fields */ }
Implementations§
source§impl<R, D> FramedRead<R, D>
impl<R, D> FramedRead<R, D>
pub fn new(inner: R, decoder: D) -> FramedRead<R, D>
Trait Implementations§
source§impl<I, R, D> FramedReader<I> for FramedRead<R, D>
impl<I, R, D> FramedReader<I> for FramedRead<R, D>
fn framed_read(&mut self) -> Result<I, Error>
Auto Trait Implementations§
impl<R, D> Freeze for FramedRead<R, D>
impl<R, D> RefUnwindSafe for FramedRead<R, D>where
R: RefUnwindSafe,
D: RefUnwindSafe,
impl<R, D> Send for FramedRead<R, D>
impl<R, D> Sync for FramedRead<R, D>
impl<R, D> Unpin for FramedRead<R, D>
impl<R, D> UnwindSafe for FramedRead<R, D>where
R: UnwindSafe,
D: 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