pub enum Exhausted {
Channels,
Sessions,
}Expand description
The identifier space is exhausted.
Reached only after 2^32 distinct channels or users in one runtime’s lifetime. It refuses rather than wrapping, because wrapping is reuse and the client would silently apply one user’s local settings to another.
Variants§
Trait Implementations§
Source§impl Error for Exhausted
impl Error for Exhausted
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<Exhausted> for BuildError
impl From<Exhausted> for BuildError
impl Copy for Exhausted
impl Eq for Exhausted
impl StructuralPartialEq for Exhausted
Auto Trait Implementations§
impl Freeze for Exhausted
impl RefUnwindSafe for Exhausted
impl Send for Exhausted
impl Sync for Exhausted
impl Unpin for Exhausted
impl UnwindSafe for Exhausted
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