pub enum DecodeResult<C, R> {
Continue(C),
Done(R),
}Variants§
Trait Implementations§
Source§impl<C: Clone, R: Clone> Clone for DecodeResult<C, R>
impl<C: Clone, R: Clone> Clone for DecodeResult<C, R>
Source§fn clone(&self) -> DecodeResult<C, R>
fn clone(&self) -> DecodeResult<C, R>
Returns a duplicate 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<C: Ord, R: Ord> Ord for DecodeResult<C, R>
impl<C: Ord, R: Ord> Ord for DecodeResult<C, R>
Source§fn cmp(&self, other: &DecodeResult<C, R>) -> Ordering
fn cmp(&self, other: &DecodeResult<C, R>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<C: PartialOrd, R: PartialOrd> PartialOrd for DecodeResult<C, R>
impl<C: PartialOrd, R: PartialOrd> PartialOrd for DecodeResult<C, R>
impl<C: Copy, R: Copy> Copy for DecodeResult<C, R>
impl<C: Eq, R: Eq> Eq for DecodeResult<C, R>
impl<C, R> StructuralPartialEq for DecodeResult<C, R>
Auto Trait Implementations§
impl<C, R> Freeze for DecodeResult<C, R>
impl<C, R> RefUnwindSafe for DecodeResult<C, R>where
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<C, R> Send for DecodeResult<C, R>
impl<C, R> Sync for DecodeResult<C, R>
impl<C, R> Unpin for DecodeResult<C, R>
impl<C, R> UnwindSafe for DecodeResult<C, R>where
C: UnwindSafe,
R: 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