Struct slimproto::FramedWrite
source · pub struct FramedWrite<W, E> { /* private fields */ }
Implementations§
source§impl<W, E> FramedWrite<W, E>
impl<W, E> FramedWrite<W, E>
pub fn new(inner: W, encoder: E) -> FramedWrite<W, E>
Trait Implementations§
source§impl<I, W, E> FramedWriter<I> for FramedWrite<W, E>where
W: Write,
E: Encoder<I, Error = Error>,
impl<I, W, E> FramedWriter<I> for FramedWrite<W, E>where W: Write, E: Encoder<I, Error = Error>,
Auto Trait Implementations§
impl<W, E> RefUnwindSafe for FramedWrite<W, E>where E: RefUnwindSafe, W: RefUnwindSafe,
impl<W, E> Send for FramedWrite<W, E>where E: Send, W: Send,
impl<W, E> Sync for FramedWrite<W, E>where E: Sync, W: Sync,
impl<W, E> Unpin for FramedWrite<W, E>where E: Unpin, W: Unpin,
impl<W, E> UnwindSafe for FramedWrite<W, E>where E: UnwindSafe, W: 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