pub enum UdsPathError {
NoListener(PathBuf),
Io(Error),
}Expand description
Error returned by VsockPortOrId::host_uds_path.
Variants§
NoListener(PathBuf)
No hybrid vsock listener was found at the specified path.
Io(Error)
An I/O error occurred while checking for the listener.
Trait Implementations§
Source§impl Debug for UdsPathError
impl Debug for UdsPathError
Source§impl Display for UdsPathError
impl Display for UdsPathError
Source§impl Error for UdsPathError
impl Error for UdsPathError
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 UdsPathError
impl !RefUnwindSafe for UdsPathError
impl Send for UdsPathError
impl Sync for UdsPathError
impl Unpin for UdsPathError
impl UnsafeUnpin for UdsPathError
impl !UnwindSafe for UdsPathError
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