RawRequest

Trait RawRequest 

Source
pub trait RawRequest: Request {
    // Required methods
    fn method(&self) -> &Method;
    fn uri(&self) -> &'static str;

    // Provided method
    fn send_raw<C, T, S, B>(
        &self,
        token: &Token<C, T>,
        http: &mut S,
    ) -> RawResponseFuture<S::Future> 
       where C: AsRef<str>,
             T: AsRef<str>,
             S: HttpService<B>,
             B: From<Vec<u8>> { ... }
}

Required Methods§

Source

fn method(&self) -> &Method

Source

fn uri(&self) -> &'static str

Provided Methods§

Source

fn send_raw<C, T, S, B>( &self, token: &Token<C, T>, http: &mut S, ) -> RawResponseFuture<S::Future>
where C: AsRef<str>, T: AsRef<str>, S: HttpService<B>, B: From<Vec<u8>>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§