pub struct ErrorWrapper {
pub error: ErrorPayload,
}Expand description
Wrapper for protocol error payload
Fields§
§error: ErrorPayloadTrait Implementations§
Source§impl Clone for ErrorWrapper
impl Clone for ErrorWrapper
Source§fn clone(&self) -> ErrorWrapper
fn clone(&self) -> ErrorWrapper
Returns a duplicate of the value. Read more
1.0.0 · 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 ErrorWrapper
impl Debug for ErrorWrapper
Source§impl<'de> Deserialize<'de> for ErrorWrapper
impl<'de> Deserialize<'de> for ErrorWrapper
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ErrorWrapper
impl RefUnwindSafe for ErrorWrapper
impl Send for ErrorWrapper
impl Sync for ErrorWrapper
impl Unpin for ErrorWrapper
impl UnwindSafe for ErrorWrapper
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