pub struct AllowAuthenticatedRoute;Expand description
Identity authenticated-route policy.
Trait Implementations§
Source§impl<Peer, Identity> AuthenticatedRoutePolicy<Peer, Identity> for AllowAuthenticatedRoute
impl<Peer, Identity> AuthenticatedRoutePolicy<Peer, Identity> for AllowAuthenticatedRoute
Source§type Error = Infallible
type Error = Infallible
Application policy failure.
Source§fn route<'a>(
&'a self,
target: ConnectTarget,
_context: AuthenticatedRouteContext<'a, Peer, Identity>,
) -> Pin<Box<dyn Future<Output = Result<ConnectTarget, Self::Error>> + 'a>>
fn route<'a>( &'a self, target: ConnectTarget, _context: AuthenticatedRouteContext<'a, Peer, Identity>, ) -> Pin<Box<dyn Future<Output = Result<ConnectTarget, Self::Error>> + 'a>>
Validates or refines the startup-selected target using typed identity evidence.
Source§impl Clone for AllowAuthenticatedRoute
impl Clone for AllowAuthenticatedRoute
Source§fn clone(&self) -> AllowAuthenticatedRoute
fn clone(&self) -> AllowAuthenticatedRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AllowAuthenticatedRoute
Source§impl Debug for AllowAuthenticatedRoute
impl Debug for AllowAuthenticatedRoute
Source§impl Default for AllowAuthenticatedRoute
impl Default for AllowAuthenticatedRoute
Source§fn default() -> AllowAuthenticatedRoute
fn default() -> AllowAuthenticatedRoute
Returns the “default value” for a type. Read more
impl Eq for AllowAuthenticatedRoute
Source§impl PartialEq for AllowAuthenticatedRoute
impl PartialEq for AllowAuthenticatedRoute
impl StructuralPartialEq for AllowAuthenticatedRoute
Auto Trait Implementations§
impl Freeze for AllowAuthenticatedRoute
impl RefUnwindSafe for AllowAuthenticatedRoute
impl Send for AllowAuthenticatedRoute
impl Sync for AllowAuthenticatedRoute
impl Unpin for AllowAuthenticatedRoute
impl UnsafeUnpin for AllowAuthenticatedRoute
impl UnwindSafe for AllowAuthenticatedRoute
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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