pub(crate) struct FramedImpl<T, U, State> {
    pub(crate) inner: T,
    pub(crate) state: State,
    pub(crate) codec: U,
}Fields§
§inner: T§state: State§codec: UTrait Implementations§
Source§impl<T, I, U, W> Sink<I> for FramedImpl<T, U, W>
 
impl<T, I, U, W> Sink<I> for FramedImpl<T, U, W>
Source§type Error = <U as Encoder<I>>::Error
 
type Error = <U as Encoder<I>>::Error
The type of value produced by the sink when an error occurs.
Source§fn poll_ready(
    self: Pin<&mut Self>,
    cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>
 
fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Self::Error>>
Attempts to prepare the 
Sink to receive a value. Read moreSource§fn start_send(self: Pin<&mut Self>, item: I) -> Result<(), Self::Error>
 
fn start_send(self: Pin<&mut Self>, item: I) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready which returned Poll::Ready(Ok(())). Read moreSource§impl<T, U, R> Stream for FramedImpl<T, U, R>
 
impl<T, U, R> Stream for FramedImpl<T, U, R>
impl<'__pin, T, U, State> Unpin for FramedImpl<T, U, State>where
    PinnedFieldsOf<__Origin<'__pin, T, U, State>>: Unpin,
Auto Trait Implementations§
impl<T, U, State> Freeze for FramedImpl<T, U, State>
impl<T, U, State> RefUnwindSafe for FramedImpl<T, U, State>
impl<T, U, State> Send for FramedImpl<T, U, State>
impl<T, U, State> Sync for FramedImpl<T, U, State>
impl<T, U, State> UnwindSafe for FramedImpl<T, U, State>
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