pub struct SimpleCredentialSource { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for SimpleCredentialSource
impl Clone for SimpleCredentialSource
Source§fn clone(&self) -> SimpleCredentialSource
fn clone(&self) -> SimpleCredentialSource
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CredentialSource for SimpleCredentialSource
impl CredentialSource for SimpleCredentialSource
fn add_credential<'a>( &'a self, crew_id: CrewID, credential: MemberCredential, ) -> Pin<Box<dyn Future<Output = ()> + 'a>>
fn current_credentials_for<'a>( &'a self, crew_id: &'a CrewID, ) -> Vec<MemberCredential>
fn id_hash(&self) -> CredentialSourceHash
fn clone_ref(&self) -> Box<dyn CredentialSource>
fn current_state(&self) -> HashMap<CrewID, Vec<MemberCredential>>
Auto Trait Implementations§
impl Freeze for SimpleCredentialSource
impl !RefUnwindSafe for SimpleCredentialSource
impl !Send for SimpleCredentialSource
impl !Sync for SimpleCredentialSource
impl Unpin for SimpleCredentialSource
impl !UnwindSafe for SimpleCredentialSource
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