pub struct E2ERegistryFull(pub usize);Expand description
Returned by E2ERegistry::register when the registry is at
capacity.
The contained value is the cap that was hit (i.e.
E2E_REGISTRY_CAP); kept in the error so log lines and panic
messages name the constant the user can adjust.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for E2ERegistryFull
impl Clone for E2ERegistryFull
Source§fn clone(&self) -> E2ERegistryFull
fn clone(&self) -> E2ERegistryFull
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 E2ERegistryFull
Source§impl Debug for E2ERegistryFull
impl Debug for E2ERegistryFull
Source§impl Display for E2ERegistryFull
impl Display for E2ERegistryFull
impl Eq for E2ERegistryFull
Source§impl Error for E2ERegistryFull
impl Error for E2ERegistryFull
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 PartialEq for E2ERegistryFull
impl PartialEq for E2ERegistryFull
impl StructuralPartialEq for E2ERegistryFull
Auto Trait Implementations§
impl Freeze for E2ERegistryFull
impl RefUnwindSafe for E2ERegistryFull
impl Send for E2ERegistryFull
impl Sync for E2ERegistryFull
impl Unpin for E2ERegistryFull
impl UnsafeUnpin for E2ERegistryFull
impl UnwindSafe for E2ERegistryFull
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