[][src]Struct grin_api::auth::BasicAuthMiddleware

pub struct BasicAuthMiddleware { /* fields omitted */ }

Methods

impl BasicAuthMiddleware[src]

pub fn new(
    api_basic_auth: String,
    basic_realm: &'static HeaderValue
) -> BasicAuthMiddleware
[src]

Trait Implementations

impl Handler for BasicAuthMiddleware[src]

fn get(&self, _req: Request<Body>) -> ResponseFuture[src]

fn post(&self, _req: Request<Body>) -> ResponseFuture[src]

fn put(&self, _req: Request<Body>) -> ResponseFuture[src]

fn patch(&self, _req: Request<Body>) -> ResponseFuture[src]

fn delete(&self, _req: Request<Body>) -> ResponseFuture[src]

fn head(&self, _req: Request<Body>) -> ResponseFuture[src]

fn options(&self, _req: Request<Body>) -> ResponseFuture[src]

fn trace(&self, _req: Request<Body>) -> ResponseFuture[src]

fn connect(&self, _req: Request<Body>) -> ResponseFuture[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> UnsafeAny for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,