pub enum Error {
RdpError(RdpError),
Io(Error),
SslHandshakeError,
SslError(Error),
ASN1Error(ASN1Error),
TryError(String),
}
Variants§
RdpError(RdpError)
RDP error
Io(Error)
All kind of IO error
SslHandshakeError
SSL handshake error
SslError(Error)
SSL error
ASN1Error(ASN1Error)
ASN1 parser error
TryError(String)
try error
Trait Implementations§
Source§impl<S: Read + Write> From<HandshakeError<S>> for Error
impl<S: Read + Write> From<HandshakeError<S>> for Error
Source§fn from(_: HandshakeError<S>) -> Error
fn from(_: HandshakeError<S>) -> Error
Converts to this type from the input type.
Source§impl<T: TryFromPrimitive> From<TryFromPrimitiveError<T>> for Error
impl<T: TryFromPrimitive> From<TryFromPrimitiveError<T>> for Error
Source§fn from(_: TryFromPrimitiveError<T>) -> Self
fn from(_: TryFromPrimitiveError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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