Enum async_psec::PsecError [−][src]
pub enum PsecError {
BrokenPipe,
ConnectionReset,
TransmissionCorrupted,
BufferTooLarge,
UnexpectedEof,
IoError {
error_kind: ErrorKind,
},
BadPadding,
}Expand description
Errors that can be returned by PSEC operations.
Variants
The operation failed because a pipe was closed.
The connection was reset by the remote peer.
Authentication error. It often means that the AES GCM tag was invalid during a decryption operation.
The received buffer was too large and was discarded to prevent DOS attacks.
Failed to read the desired amout of bytes.
An unknown error occurred while reading or writing to the underlying TcpStream.
The plain text was not properly padded.
Trait Implementations
impl Eq for PsecError[src]
impl StructuralEq for PsecError[src]
impl StructuralPartialEq for PsecError[src]
Auto Trait Implementations
impl RefUnwindSafe for PsecError
impl Send for PsecError
impl Sync for PsecError
impl Unpin for PsecError
impl UnwindSafe for PsecError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,