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