pub struct Authentication<'a, B> { /* private fields */ }
Implementations§
Source§impl<'a, B> Authentication<'a, B>
impl<'a, B> Authentication<'a, B>
pub fn builder() -> AuthenticationBuilder<'a, B>
Trait Implementations§
Source§impl<'staic, B: Backend + 'static> Middleware for Authentication<'static, B>
impl<'staic, B: Backend + 'static> Middleware for Authentication<'static, B>
type Backend = B
Source§fn wrap_call(
&self,
call: Result<Call<<Self::Backend as Backend>::Intermediate>>,
) -> Result<Call<<Self::Backend as Backend>::Intermediate>>
fn wrap_call( &self, call: Result<Call<<Self::Backend as Backend>::Intermediate>>, ) -> Result<Call<<Self::Backend as Backend>::Intermediate>>
Source§fn wrap_reply(
&self,
reply: Result<Reply<<Self::Backend as Backend>::Intermediate>>,
) -> Result<Reply<<Self::Backend as Backend>::Intermediate>>
fn wrap_reply( &self, reply: Result<Reply<<Self::Backend as Backend>::Intermediate>>, ) -> Result<Reply<<Self::Backend as Backend>::Intermediate>>
Source§fn unwrap_call(
&self,
call: Result<Call<<Self::Backend as Backend>::Intermediate>>,
) -> Result<Call<<Self::Backend as Backend>::Intermediate>>
fn unwrap_call( &self, call: Result<Call<<Self::Backend as Backend>::Intermediate>>, ) -> Result<Call<<Self::Backend as Backend>::Intermediate>>
Source§fn unwrap_reply(
&self,
reply: Result<Reply<<Self::Backend as Backend>::Intermediate>>,
) -> Result<Reply<<Self::Backend as Backend>::Intermediate>>
fn unwrap_reply( &self, reply: Result<Reply<<Self::Backend as Backend>::Intermediate>>, ) -> Result<Reply<<Self::Backend as Backend>::Intermediate>>
Auto Trait Implementations§
impl<'a, B> Freeze for Authentication<'a, B>
impl<'a, B> !RefUnwindSafe for Authentication<'a, B>
impl<'a, B> Send for Authentication<'a, B>where
B: Send,
impl<'a, B> !Sync for Authentication<'a, B>
impl<'a, B> Unpin for Authentication<'a, B>where
B: Unpin,
impl<'a, B> !UnwindSafe for Authentication<'a, B>
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