[][src]Trait opentelemetry_stackdriver::Authorizer

pub trait Authorizer: Sync + Send + 'static {
    type Error: Display + Debug + Send;
    fn project_id(&self) -> &str;
#[must_use] fn authorize<'life0, 'life1, 'async_trait, T: Send + Sync>(
        &'life0 self,
        request: &'life1 mut Request<T>
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
    where
        T: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Associated Types

type Error: Display + Debug + Send

Loading content...

Required methods

fn project_id(&self) -> &str

#[must_use]fn authorize<'life0, 'life1, 'async_trait, T: Send + Sync>(
    &'life0 self,
    request: &'life1 mut Request<T>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
    T: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl Authorizer for YupAuthorizer[src]

type Error = Box<dyn Error + Send + Sync>

Loading content...