pub enum CollectionError {
Limit(FailureReceipt),
Arena(ArenaError),
}Expand description
A fail-closed collection error.
Variants§
Limit(FailureReceipt)
A budget could not admit the complete read-only plan.
Arena(ArenaError)
The arena rejected a stale edge or atomic sweep.
Trait Implementations§
Source§impl Clone for CollectionError
impl Clone for CollectionError
Source§fn clone(&self) -> CollectionError
fn clone(&self) -> CollectionError
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 CollectionError
impl Debug for CollectionError
Source§impl Display for CollectionError
impl Display for CollectionError
impl Eq for CollectionError
Source§impl Error for CollectionError
impl Error for CollectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ArenaError> for CollectionError
impl From<ArenaError> for CollectionError
Source§fn from(value: ArenaError) -> Self
fn from(value: ArenaError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CollectionError
impl PartialEq for CollectionError
impl StructuralPartialEq for CollectionError
Auto Trait Implementations§
impl Freeze for CollectionError
impl RefUnwindSafe for CollectionError
impl Send for CollectionError
impl Sync for CollectionError
impl Unpin for CollectionError
impl UnsafeUnpin for CollectionError
impl UnwindSafe for CollectionError
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