pub struct Decoder {
state: State,
}Fields§
§state: StateImplementations§
Source§impl Decoder
impl Decoder
fn do_poll_write( &mut self, cx: &mut Context<'_>, input: &mut PartialBuffer<&[u8]>, writer: Pin<&mut dyn AsyncBufWrite>, decoder: &mut dyn DecodeV2, ) -> Poll<Result<()>>
pub fn poll_write( &mut self, cx: &mut Context<'_>, buf: &[u8], writer: Pin<&mut dyn AsyncBufWrite>, decoder: &mut dyn DecodeV2, ) -> Poll<Result<usize>>
pub fn do_poll_flush( &mut self, cx: &mut Context<'_>, writer: Pin<&mut dyn AsyncBufWrite>, decoder: &mut dyn DecodeV2, ) -> Poll<Result<()>>
pub fn do_close(&mut self)
pub fn is_done(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decoder
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl Sync for Decoder
impl Unpin for Decoder
impl UnwindSafe for Decoder
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