Struct ockam_api::authenticator::direct::EnrollmentTokenIssuer
source · pub struct EnrollmentTokenIssuer(/* private fields */);Trait Implementations§
source§impl Worker for EnrollmentTokenIssuer
impl Worker for EnrollmentTokenIssuer
§type Context = Context
type Context = Context
The API and other resources available for the worker during message
processing. Read more
source§fn handle_message<'life0, 'life1, 'async_trait>(
&'life0 mut self,
c: &'life1 mut Context,
m: Routed<Self::Message>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn handle_message<'life0, 'life1, 'async_trait>( &'life0 mut self, c: &'life1 mut Context, m: Routed<Self::Message> ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Try to open and handle a typed message.
Auto Trait Implementations§
impl RefUnwindSafe for EnrollmentTokenIssuer
impl Send for EnrollmentTokenIssuer
impl Sync for EnrollmentTokenIssuer
impl Unpin for EnrollmentTokenIssuer
impl UnwindSafe for EnrollmentTokenIssuer
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