pub enum StorageTryPushOutput<T: Sized> {
Pushed,
Skipped,
Full(T),
}
Expand description
Result payload of try_push operation
Variants§
Pushed
the value is pushed
Skipped
the value has been skipped
Full(T)
the value has been returned back, usually because the buffer is full
Auto Trait Implementations§
impl<T> Freeze for StorageTryPushOutput<T>where
T: Freeze,
impl<T> RefUnwindSafe for StorageTryPushOutput<T>where
T: RefUnwindSafe,
impl<T> Send for StorageTryPushOutput<T>where
T: Send,
impl<T> Sync for StorageTryPushOutput<T>where
T: Sync,
impl<T> Unpin for StorageTryPushOutput<T>where
T: Unpin,
impl<T> UnwindSafe for StorageTryPushOutput<T>where
T: 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