pub enum ServerInitError {
InvalidArgs(Error),
Other(String),
}Variants§
Trait Implementations§
Source§impl Debug for ServerInitError
impl Debug for ServerInitError
Source§impl Display for ServerInitError
impl Display for ServerInitError
Source§impl Error for ServerInitError
impl Error for ServerInitError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ServerInitError
impl !UnwindSafe for ServerInitError
impl Freeze for ServerInitError
impl Send for ServerInitError
impl Sync for ServerInitError
impl Unpin for ServerInitError
impl UnsafeUnpin for ServerInitError
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