pub enum EarlyDataError {
ExceededAllowedEarlyData,
Encrypt(EncryptError),
}Available on crate feature
net only.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)>
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<EncryptError> for EarlyDataError
impl From<EncryptError> for EarlyDataError
Sourceยงfn from(v: EncryptError) -> EarlyDataError
fn from(v: EncryptError) -> EarlyDataError
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
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Sourceยงfn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSourceยงimpl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Sourceยงimpl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Sourceยงfn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.