Struct ockam_identity::TrustIdentifierPolicy
source · [−]pub struct TrustIdentifierPolicy { /* private fields */ }
Implementations
sourceimpl TrustIdentifierPolicy
impl TrustIdentifierPolicy
pub fn new(their_identity_id: IdentityIdentifier) -> Self
Trait Implementations
sourceimpl Clone for TrustIdentifierPolicy
impl Clone for TrustIdentifierPolicy
sourcefn clone(&self) -> TrustIdentifierPolicy
fn clone(&self) -> TrustIdentifierPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl TrustPolicy for TrustIdentifierPolicy
impl TrustPolicy for TrustIdentifierPolicy
fn check<'life0, 'life1, 'async_trait>(
&'life0 self,
trust_info: &'life1 SecureChannelTrustInfo
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn and<O: TrustPolicy>(self, other: O) -> AllTrustPolicy<Self, O>where
Self: Sized,
fn or<O: TrustPolicy>(self, other: O) -> AnyTrustPolicy<Self, O>where
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for TrustIdentifierPolicy
impl Send for TrustIdentifierPolicy
impl Sync for TrustIdentifierPolicy
impl Unpin for TrustIdentifierPolicy
impl UnwindSafe for TrustIdentifierPolicy
Blanket Implementations
sourceimpl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
impl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more