pub enum SidecarError {
Io(Error),
Sidecar(String),
Hypervisor(HvError),
}
Expand description
An error from a sidecar operation.
Variants§
Io(Error)
An IO error interacting with the sidecar driver.
Sidecar(String)
An error from the sidecar kernel.
Hypervisor(HvError)
An error from the hypervisor.
Trait Implementations§
Source§impl Debug for SidecarError
impl Debug for SidecarError
Source§impl Display for SidecarError
impl Display for SidecarError
Source§impl Error for SidecarError
impl Error for SidecarError
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 Freeze for SidecarError
impl !RefUnwindSafe for SidecarError
impl Send for SidecarError
impl Sync for SidecarError
impl Unpin for SidecarError
impl !UnwindSafe for SidecarError
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