Enum rustls::client::EarlyDataError
source · pub enum EarlyDataError {
ExceededAllowedEarlyData,
Encrypt(EncryptError),
}
Expand description
Errors that may arise when encrypting early (RTT-0) data
Variants§
ExceededAllowedEarlyData
Cannot encrypt more early data due to imposed limits
Encrypt(EncryptError)
Encryption error
Trait Implementations§
source§impl Debug for EarlyDataError
impl Debug for EarlyDataError
source§impl Display for EarlyDataError
impl Display for EarlyDataError
source§impl Error for EarlyDataError
impl Error for EarlyDataError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<EncryptError> for EarlyDataError
impl From<EncryptError> for EarlyDataError
source§fn from(v: EncryptError) -> Self
fn from(v: EncryptError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EarlyDataError
impl RefUnwindSafe for EarlyDataError
impl Send for EarlyDataError
impl Sync for EarlyDataError
impl Unpin for EarlyDataError
impl UnwindSafe for EarlyDataError
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