pub struct EnvelopeFailure {
pub code: EnvelopeFailureCode,
pub message: String,
}Fields§
§code: EnvelopeFailureCode§message: StringTrait Implementations§
Source§impl Clone for EnvelopeFailure
impl Clone for EnvelopeFailure
Source§fn clone(&self) -> EnvelopeFailure
fn clone(&self) -> EnvelopeFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvelopeFailure
impl Debug for EnvelopeFailure
Source§impl Display for EnvelopeFailure
impl Display for EnvelopeFailure
Source§impl Error for EnvelopeFailure
impl Error for EnvelopeFailure
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()
Auto Trait Implementations§
impl Freeze for EnvelopeFailure
impl RefUnwindSafe for EnvelopeFailure
impl Send for EnvelopeFailure
impl Sync for EnvelopeFailure
impl Unpin for EnvelopeFailure
impl UnsafeUnpin for EnvelopeFailure
impl UnwindSafe for EnvelopeFailure
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