pub enum ManagerError {
NotInitialized,
Shutdown,
InvalidId {
id: u64,
},
OperationFailed(String),
}Expand description
Manager errors
Variants§
NotInitialized
Manager not initialized
Shutdown
Manager shutdown
InvalidId
Invalid connection ID
OperationFailed(String)
Operation failed
Trait Implementations§
Source§impl Debug for ManagerError
impl Debug for ManagerError
Source§impl Display for ManagerError
impl Display for ManagerError
Source§impl Error for ManagerError
impl Error for ManagerError
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<ManagerError> for ServerError
impl From<ManagerError> for ServerError
Source§fn from(source: ManagerError) -> Self
fn from(source: ManagerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ManagerError
impl RefUnwindSafe for ManagerError
impl Send for ManagerError
impl Sync for ManagerError
impl Unpin for ManagerError
impl UnwindSafe for ManagerError
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