Trait rjwt::Resolve[][src]

pub trait Resolve where
    <Self::Host as FromStr>::Err: Display
{ type Host: FromStr + Send + Sync; type ActorId: DeserializeOwned + PartialEq + Send + Sync; type Claims: DeserializeOwned + Send + Sync; #[must_use] fn resolve<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        host: &'life1 Self::Host,
        actor_id: &'life2 Self::ActorId
    ) -> Pin<Box<dyn Future<Output = Result<Actor<Self::ActorId>, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; #[must_use] fn validate<'life0, 'life1, 'async_trait>(
        &'life0 self,
        encoded: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Token<Self::ActorId, Self::Claims>, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Associated Types

Loading content...

Required methods

#[must_use]fn resolve<'life0, 'life1, 'life2, 'async_trait>(
    &'life0 self,
    host: &'life1 Self::Host,
    actor_id: &'life2 Self::ActorId
) -> Pin<Box<dyn Future<Output = Result<Actor<Self::ActorId>, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Provided methods

#[must_use]fn validate<'life0, 'life1, 'async_trait>(
    &'life0 self,
    encoded: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Token<Self::ActorId, Self::Claims>, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: Sync + 'async_trait, 
[src]

Loading content...

Implementors

Loading content...