pub struct HttpActionResponse {
pub output: Cbor,
}Expand description
BARE struct HttpActionResponse.
Fields§
§output: CborTrait Implementations§
Source§impl Clone for HttpActionResponse
impl Clone for HttpActionResponse
Source§impl Debug for HttpActionResponse
impl Debug for HttpActionResponse
Source§impl Encode for HttpActionResponse
impl Encode for HttpActionResponse
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 HttpActionResponse
Source§impl From<HttpActionResponse> for HttpActionResponse
impl From<HttpActionResponse> for HttpActionResponse
Source§fn from(value: HttpActionResponse) -> Self
fn from(value: HttpActionResponse) -> Self
Converts to this type from the input type.
Source§impl From<HttpActionResponse> for HttpActionResponse
impl From<HttpActionResponse> for HttpActionResponse
Source§fn from(value: HttpActionResponse) -> Self
fn from(value: HttpActionResponse) -> Self
Converts to this type from the input type.
Source§impl From<HttpActionResponse> for HttpActionResponse
impl From<HttpActionResponse> for HttpActionResponse
Source§fn from(value: HttpActionResponse) -> Self
fn from(value: HttpActionResponse) -> Self
Converts to this type from the input type.
Source§impl From<HttpActionResponse> for HttpActionResponse
impl From<HttpActionResponse> for HttpActionResponse
Source§fn from(value: HttpActionResponse) -> Self
fn from(value: HttpActionResponse) -> Self
Converts to this type from the input type.
Source§impl Hash for HttpActionResponse
impl Hash for HttpActionResponse
Source§impl Message for HttpActionResponse
impl Message for HttpActionResponse
Source§type Wire = HttpActionResponseWire
type Wire = HttpActionResponseWire
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 HttpActionResponse
impl PartialEq for HttpActionResponse
impl StructuralPartialEq for HttpActionResponse
Auto Trait Implementations§
impl !Freeze for HttpActionResponse
impl RefUnwindSafe for HttpActionResponse
impl Send for HttpActionResponse
impl Sync for HttpActionResponse
impl Unpin for HttpActionResponse
impl UnsafeUnpin for HttpActionResponse
impl UnwindSafe for HttpActionResponse
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