pub enum OpenvpnError {
Io(Error),
ParseInt(ParseIntError),
ParseFloat(ParseFloatError),
MalformedResponse(String),
MissingURLInput(String),
}
Variants§
Io(Error)
ParseInt(ParseIntError)
ParseFloat(ParseFloatError)
MalformedResponse(String)
MissingURLInput(String)
Trait Implementations§
Source§impl Debug for OpenvpnError
impl Debug for OpenvpnError
Source§impl Display for OpenvpnError
impl Display for OpenvpnError
Source§impl Error for OpenvpnError
impl Error for OpenvpnError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl From<Error> for OpenvpnError
impl From<Error> for OpenvpnError
Source§fn from(err: Error) -> OpenvpnError
fn from(err: Error) -> OpenvpnError
Converts to this type from the input type.
Source§impl From<ParseFloatError> for OpenvpnError
impl From<ParseFloatError> for OpenvpnError
Source§fn from(err: ParseFloatError) -> OpenvpnError
fn from(err: ParseFloatError) -> OpenvpnError
Converts to this type from the input type.
Source§impl From<ParseIntError> for OpenvpnError
impl From<ParseIntError> for OpenvpnError
Source§fn from(err: ParseIntError) -> OpenvpnError
fn from(err: ParseIntError) -> OpenvpnError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpenvpnError
impl !RefUnwindSafe for OpenvpnError
impl Send for OpenvpnError
impl Sync for OpenvpnError
impl Unpin for OpenvpnError
impl !UnwindSafe for OpenvpnError
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