Struct CborCodec
pub struct CborCodec;Trait Implementations§
Source§impl HttpClientCodec for CborCodec
impl HttpClientCodec for CborCodec
fn accept_header_value(&self) -> &'static str
fn sequence_accept_header_value(&self) -> &'static str
fn decode_response<T>(
&self,
content_type: &str,
body: &[u8],
) -> Result<T, CoolError>where
T: DeserializeOwned,
fn decode_sequence_response<T>(
&self,
content_type: &str,
body: &[u8],
) -> Result<Vec<T>, CoolError>where
T: DeserializeOwned,
Auto Trait Implementations§
impl Freeze for CborCodec
impl RefUnwindSafe for CborCodec
impl Send for CborCodec
impl Sync for CborCodec
impl Unpin for CborCodec
impl UnsafeUnpin for CborCodec
impl UnwindSafe for CborCodec
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