Struct tokio_util::codec::framed_impl::ReadFrame
source · pub(crate) struct ReadFrame {
pub(crate) eof: bool,
pub(crate) is_readable: bool,
pub(crate) buffer: BytesMut,
pub(crate) has_errored: bool,
}
Fields§
§eof: bool
§is_readable: bool
§buffer: BytesMut
§has_errored: bool
Trait Implementations§
source§impl BorrowMut<ReadFrame> for RWFrames
impl BorrowMut<ReadFrame> for RWFrames
source§fn borrow_mut(&mut self) -> &mut ReadFrame
fn borrow_mut(&mut self) -> &mut ReadFrame
Mutably borrows from an owned value. Read more
Auto Trait Implementations§
impl Freeze for ReadFrame
impl RefUnwindSafe for ReadFrame
impl Send for ReadFrame
impl Sync for ReadFrame
impl Unpin for ReadFrame
impl UnwindSafe for ReadFrame
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