pub enum DropResult {
Accepted,
Rejected {
reason: String,
},
}Expand description
Outcome of a drop operation.
Variants§
Implementations§
Source§impl DropResult
impl DropResult
Trait Implementations§
Source§impl Clone for DropResult
impl Clone for DropResult
Source§fn clone(&self) -> DropResult
fn clone(&self) -> DropResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DropResult
impl Debug for DropResult
impl Eq for DropResult
Source§impl PartialEq for DropResult
impl PartialEq for DropResult
Source§fn eq(&self, other: &DropResult) -> bool
fn eq(&self, other: &DropResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DropResult
Auto Trait Implementations§
impl Freeze for DropResult
impl RefUnwindSafe for DropResult
impl Send for DropResult
impl Sync for DropResult
impl Unpin for DropResult
impl UnsafeUnpin for DropResult
impl UnwindSafe for DropResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.