pub enum InsertOutcome {
Stored,
Duplicate,
Conflict,
NoSpace,
TooLarge,
}Expand description
Outcome of storing one received fragment.
Variants§
Stored
Stored; the slot may now be complete.
Duplicate
The fragment was already present with identical bytes.
Conflict
The fragment was already present with different bytes; the original authenticated bytes were kept.
NoSpace
No page capacity; the caller should evict and retry or drop.
TooLarge
The fragment body exceeds the wire maximum and was not stored.
Trait Implementations§
Source§impl Clone for InsertOutcome
impl Clone for InsertOutcome
Source§fn clone(&self) -> InsertOutcome
fn clone(&self) -> InsertOutcome
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InsertOutcome
impl Debug for InsertOutcome
Source§impl PartialEq for InsertOutcome
impl PartialEq for InsertOutcome
impl Copy for InsertOutcome
impl Eq for InsertOutcome
impl StructuralPartialEq for InsertOutcome
Auto Trait Implementations§
impl Freeze for InsertOutcome
impl RefUnwindSafe for InsertOutcome
impl Send for InsertOutcome
impl Sync for InsertOutcome
impl Unpin for InsertOutcome
impl UnwindSafe for InsertOutcome
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)