pub struct SmileEncoding;
Expand description
An Encoding
using conjure_serde::smile
.
Trait Implementations§
Source§impl Encoding for SmileEncoding
impl Encoding for SmileEncoding
Source§fn content_type(&self) -> HeaderValue
fn content_type(&self) -> HeaderValue
The encoding’s MIME type.
Source§fn serializer<'a>(
&self,
w: &'a mut Vec<u8>,
) -> Box<dyn SerializerState<'a> + 'a>
fn serializer<'a>( &self, w: &'a mut Vec<u8>, ) -> Box<dyn SerializerState<'a> + 'a>
Returns state which will serialize the response body into the provided buffer.
Source§fn deserializer<'a>(&self, buf: &'a [u8]) -> Box<dyn DeserializerState<'a> + 'a>
fn deserializer<'a>(&self, buf: &'a [u8]) -> Box<dyn DeserializerState<'a> + 'a>
Returns state which will deserialize the request body from the provided buffer.
Auto Trait Implementations§
impl Freeze for SmileEncoding
impl RefUnwindSafe for SmileEncoding
impl Send for SmileEncoding
impl Sync for SmileEncoding
impl Unpin for SmileEncoding
impl UnwindSafe for SmileEncoding
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