pub struct Err {
pub encoding: Encoding,
pub ext_sinfo: Option<SourceInfoType>,
pub ext_unknown: Vec<ZExtUnknown>,
pub payload: ZBuf,
}
Fields§
§encoding: Encoding
§ext_sinfo: Option<SourceInfoType>
§ext_unknown: Vec<ZExtUnknown>
§payload: ZBuf
Trait Implementations§
Source§impl From<Err> for ResponseBody
impl From<Err> for ResponseBody
Source§fn from(r: Err) -> ResponseBody
fn from(r: Err) -> ResponseBody
Converts to this type from the input type.
impl Eq for Err
impl StructuralPartialEq for Err
Auto Trait Implementations§
impl Freeze for Err
impl !RefUnwindSafe for Err
impl Send for Err
impl Sync for Err
impl Unpin for Err
impl !UnwindSafe for Err
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more