[][src]Struct tame_gcs::Response

pub struct Response<T> { /* fields omitted */ }

Methods

impl<T> Response<T> where
    T: ApiResponse<Bytes>, 
[src]

pub fn new(parts: Builder) -> Self[src]

pub fn get_response(self) -> Result<Response<Bytes>, Error>[src]

Try to get an http::Response

pub fn parse(self) -> Result<T, Error>[src]

Try to parse all the data buffered so far into a response type.

Trait Implementations

impl<T> Write for Response<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Response<T>

impl<T> Send for Response<T>

impl<T> Sync for Response<T>

impl<T> Unpin for Response<T>

impl<T> !UnwindSafe for Response<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.