pub enum SocatError {
NotRunning,
NoVsockDevice,
NoListener(u32),
FailedToListen(u32),
InternalFailure(String),
}
Variants§
Trait Implementations§
Source§impl Debug for SocatError
impl Debug for SocatError
Source§impl<'de> Deserialize<'de> for SocatError
impl<'de> Deserialize<'de> for SocatError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SocatError
impl Display for SocatError
Source§impl From<Error> for SocatError
impl From<Error> for SocatError
Source§fn from(err: Error) -> SocatError
fn from(err: Error) -> SocatError
Converts to this type from the input type.
Source§impl From<Status> for SocatError
impl From<Status> for SocatError
Source§fn from(err: Status) -> SocatError
fn from(err: Status) -> SocatError
Converts to this type from the input type.
Source§impl PartialEq for SocatError
impl PartialEq for SocatError
Source§impl Serialize for SocatError
impl Serialize for SocatError
impl StructuralPartialEq for SocatError
Auto Trait Implementations§
impl Freeze for SocatError
impl RefUnwindSafe for SocatError
impl Send for SocatError
impl Sync for SocatError
impl Unpin for SocatError
impl UnwindSafe for SocatError
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