Enum tokio_util::codec::length_delimited::DecodeState
source · enum DecodeState {
Head,
Data(usize),
}
Variants§
Trait Implementations§
source§impl Clone for DecodeState
impl Clone for DecodeState
source§fn clone(&self) -> DecodeState
fn clone(&self) -> DecodeState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodeState
impl Debug for DecodeState
impl Copy for DecodeState
Auto Trait Implementations§
impl Freeze for DecodeState
impl RefUnwindSafe for DecodeState
impl Send for DecodeState
impl Sync for DecodeState
impl Unpin for DecodeState
impl UnwindSafe for DecodeState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)