pub enum EdgeAllocationError {
IdentityExhausted,
CapacityExceeded {
kind: EdgeKind,
cap: usize,
},
}Expand description
Fail-closed edge allocation errors.
Variants§
IdentityExhausted
The per-object edge identity space is exhausted.
CapacityExceeded
The configured total or per-kind edge cap was reached.
Trait Implementations§
Source§impl Clone for EdgeAllocationError
impl Clone for EdgeAllocationError
Source§fn clone(&self) -> EdgeAllocationError
fn clone(&self) -> EdgeAllocationError
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 moreimpl Copy for EdgeAllocationError
Source§impl Debug for EdgeAllocationError
impl Debug for EdgeAllocationError
Source§impl Display for EdgeAllocationError
impl Display for EdgeAllocationError
impl Eq for EdgeAllocationError
Source§impl Error for EdgeAllocationError
impl Error for EdgeAllocationError
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<EdgeAllocationError> for EphemeronMutationError
impl From<EdgeAllocationError> for EphemeronMutationError
Source§fn from(error: EdgeAllocationError) -> Self
fn from(error: EdgeAllocationError) -> Self
Converts to this type from the input type.
Source§impl From<EdgeAllocationError> for WeakEdgeMutationError
impl From<EdgeAllocationError> for WeakEdgeMutationError
Source§fn from(error: EdgeAllocationError) -> Self
fn from(error: EdgeAllocationError) -> Self
Converts to this type from the input type.
Source§impl From<EdgeAllocationError> for StrongEdgeMutationError
impl From<EdgeAllocationError> for StrongEdgeMutationError
Source§fn from(error: EdgeAllocationError) -> Self
fn from(error: EdgeAllocationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EdgeAllocationError
impl PartialEq for EdgeAllocationError
impl StructuralPartialEq for EdgeAllocationError
Auto Trait Implementations§
impl Freeze for EdgeAllocationError
impl RefUnwindSafe for EdgeAllocationError
impl Send for EdgeAllocationError
impl Sync for EdgeAllocationError
impl Unpin for EdgeAllocationError
impl UnsafeUnpin for EdgeAllocationError
impl UnwindSafe for EdgeAllocationError
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