pub enum Push<'d> {
Complete(Shared<'d>),
Length {
len: usize,
add: usize,
owner: Shared<'d>,
},
Segments {
current: Count,
add: Count,
owner: Shared<'d>,
},
Allocation {
error: Error,
owner: Shared<'d>,
},
}Expand description
Failure to transfer one retained input owner into a streaming decoder.
Variants§
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for Push<'d>
impl<'d> !Send for Push<'d>
impl<'d> !Sync for Push<'d>
impl<'d> !UnwindSafe for Push<'d>
impl<'d> Forget for Push<'d>
impl<'d> Freeze for Push<'d>
impl<'d> Unpin for Push<'d>
impl<'d> UnsafeUnpin for Push<'d>
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