pub struct HttpResponseError {
pub group: Str,
pub code: Str,
pub message: Str,
pub metadata: Option<Cbor>,
pub actor: Option<ActorSpecifier>,
}Expand description
BARE struct HttpResponseError.
Fields§
§group: Str§code: Str§message: Str§metadata: Option<Cbor>§actor: Option<ActorSpecifier>Trait Implementations§
Source§impl Clone for HttpResponseError
impl Clone for HttpResponseError
Source§impl Debug for HttpResponseError
impl Debug for HttpResponseError
Source§impl Encode for HttpResponseError
impl Encode for HttpResponseError
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
The exact encoded length, computed without encoding.
fn encode<S: Sink>(&self, out: &mut S)
fn encode_to_vec(&self) -> Vec<u8> ⓘ
fn encode_to_bytes(&self) -> Bytes
Source§fn encode_to_slice(&self, out: &mut [u8]) -> Result<usize, EncodeError>
fn encode_to_slice(&self, out: &mut [u8]) -> Result<usize, EncodeError>
Encodes into the front of
out and returns the number of bytes written. Checks the length
first instead of panicking when out is too short.impl Eq for HttpResponseError
Source§impl Hash for HttpResponseError
impl Hash for HttpResponseError
Source§impl Message for HttpResponseError
impl Message for HttpResponseError
Source§type Wire = HttpResponseErrorWire
type Wire = HttpResponseErrorWire
The wire marker whose owned form is this type.
Source§fn view(bytes: Bytes) -> Result<View<Self::Wire>, DecodeError>
fn view(bytes: Bytes) -> Result<View<Self::Wire>, DecodeError>
Verifies
bytes and returns a zero-copy view over them.Source§impl PartialEq for HttpResponseError
impl PartialEq for HttpResponseError
impl StructuralPartialEq for HttpResponseError
Auto Trait Implementations§
impl !Freeze for HttpResponseError
impl RefUnwindSafe for HttpResponseError
impl Send for HttpResponseError
impl Sync for HttpResponseError
impl Unpin for HttpResponseError
impl UnsafeUnpin for HttpResponseError
impl UnwindSafe for HttpResponseError
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