Trait fluvio_auth::Authorization[][src]

pub trait Authorization {
    type Stream: AsyncRead + AsyncWrite + Unpin + Send;
    type Context: AuthContext;
#[must_use]    fn create_auth_context<'life0, 'life1, 'async_trait>(
        &'life0 self,
        socket: &'life1 mut InnerFlvSocket<Self::Stream>
    ) -> Pin<Box<dyn Future<Output = Result<Self::Context, AuthError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Associated Types

type Stream: AsyncRead + AsyncWrite + Unpin + Send[src]

type Context: AuthContext[src]

Loading content...

Required methods

#[must_use]fn create_auth_context<'life0, 'life1, 'async_trait>(
    &'life0 self,
    socket: &'life1 mut InnerFlvSocket<Self::Stream>
) -> Pin<Box<dyn Future<Output = Result<Self::Context, AuthError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

create auth context

Loading content...

Implementors

Loading content...