pub enum VsockError {
NotSupported,
Retry,
NotConnected,
AlreadyExists,
NotAvailable,
Other(Box<dyn Error>),
}Variants§
Trait Implementations§
Source§impl Debug for VsockError
impl Debug for VsockError
Source§impl Display for VsockError
impl Display for VsockError
Source§impl Error for VsockError
impl Error for VsockError
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<VsockError> for ErrorKind
impl From<VsockError> for ErrorKind
Source§fn from(value: VsockError) -> Self
fn from(value: VsockError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for VsockError
impl !Send for VsockError
impl !Sync for VsockError
impl !UnwindSafe for VsockError
impl Freeze for VsockError
impl Unpin for VsockError
impl UnsafeUnpin for VsockError
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