pub enum CovertError {
DecryptionError,
InvalidHash,
DeserializeError,
}Expand description
Error type for the things that can go wrong when you put packets in the channel
Variants§
DecryptionError
Theres an issue with decrypting the packet
InvalidHash
There is an issue with the hash after decryption (Could be a tampered packet)
DeserializeError
The contained message or packet could not be deserialized to a rust struct
Trait Implementations§
Source§impl Debug for CovertError
impl Debug for CovertError
Source§impl Display for CovertError
impl Display for CovertError
Source§impl Error for CovertError
impl Error for CovertError
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§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 CovertError
impl RefUnwindSafe for CovertError
impl Send for CovertError
impl Sync for CovertError
impl Unpin for CovertError
impl UnwindSafe for CovertError
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