pub enum BinaryResponseDeserializer {}
Expand description
A body deserializer for binary types.
Trait Implementations§
Source§impl<R> AsyncDeserializeResponse<R, R> for BinaryResponseDeserializerwhere
R: Send,
impl<R> AsyncDeserializeResponse<R, R> for BinaryResponseDeserializerwhere
R: Send,
Source§fn accept(_: &ConjureRuntime) -> Option<HeaderValue>
fn accept(_: &ConjureRuntime) -> Option<HeaderValue>
Returns the value of the
Accept
header to be included in the request.Source§async fn deserialize(
_: &ConjureRuntime,
response: Response<R>,
) -> Result<R, Error>
async fn deserialize( _: &ConjureRuntime, response: Response<R>, ) -> Result<R, Error>
Deserializes the response.
Source§impl<R> DeserializeResponse<R, R> for BinaryResponseDeserializer
impl<R> DeserializeResponse<R, R> for BinaryResponseDeserializer
Source§fn accept(_: &ConjureRuntime) -> Option<HeaderValue>
fn accept(_: &ConjureRuntime) -> Option<HeaderValue>
Returns the value of the
Accept
header to be included in the request.Source§fn deserialize(_: &ConjureRuntime, response: Response<R>) -> Result<R, Error>
fn deserialize(_: &ConjureRuntime, response: Response<R>) -> Result<R, Error>
Deserializes the response.
Source§impl<R> LocalAsyncDeserializeResponse<R, R> for BinaryResponseDeserializer
impl<R> LocalAsyncDeserializeResponse<R, R> for BinaryResponseDeserializer
Source§fn accept(_: &ConjureRuntime) -> Option<HeaderValue>
fn accept(_: &ConjureRuntime) -> Option<HeaderValue>
Returns the value of the
Accept
header to be included in the request.Source§async fn deserialize(
_: &ConjureRuntime,
response: Response<R>,
) -> Result<R, Error>
async fn deserialize( _: &ConjureRuntime, response: Response<R>, ) -> Result<R, Error>
Deserializes the response.
Auto Trait Implementations§
impl Freeze for BinaryResponseDeserializer
impl RefUnwindSafe for BinaryResponseDeserializer
impl Send for BinaryResponseDeserializer
impl Sync for BinaryResponseDeserializer
impl Unpin for BinaryResponseDeserializer
impl UnwindSafe for BinaryResponseDeserializer
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