pub struct InboundIdentityPolicy { /* private fields */ }Expand description
Verification-service selection for inbound calls handled by a dispatcher.
The policy owns the service because its bounded credential cache is stateful. required
decides whether an INVITE without a usable Identity is refused with 428 or surfaced as an
unverified ordinary call. The time function and the service’s credential fetcher are both
caller-owned; the call layer performs neither clock nor network I/O for them.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InboundIdentityPolicy
impl !RefUnwindSafe for InboundIdentityPolicy
impl Send for InboundIdentityPolicy
impl Sync for InboundIdentityPolicy
impl Unpin for InboundIdentityPolicy
impl UnsafeUnpin for InboundIdentityPolicy
impl !UnwindSafe for InboundIdentityPolicy
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more