pub enum VCLError {
Show 15 variants
CryptoError(String),
SignatureInvalid,
InvalidKey(String),
ChainValidationFailed,
ReplayDetected(String),
InvalidPacket(String),
ConnectionClosed,
Timeout,
NoPeerAddress,
NoSharedSecret,
HandshakeFailed(String),
ExpectedClientHello,
ExpectedServerHello,
SerializationError(String),
IoError(String),
}Variants§
CryptoError(String)
SignatureInvalid
InvalidKey(String)
ChainValidationFailed
ReplayDetected(String)
InvalidPacket(String)
ConnectionClosed
Timeout
NoPeerAddress
HandshakeFailed(String)
ExpectedClientHello
ExpectedServerHello
SerializationError(String)
IoError(String)
Trait Implementations§
Source§impl Error for VCLError
impl Error for VCLError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AddrParseError> for VCLError
impl From<AddrParseError> for VCLError
Source§fn from(err: AddrParseError) -> Self
fn from(err: AddrParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VCLError
impl RefUnwindSafe for VCLError
impl Send for VCLError
impl Sync for VCLError
impl Unpin for VCLError
impl UnsafeUnpin for VCLError
impl UnwindSafe for VCLError
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