pub struct EitherAuthorizer {
pub live: Arc<LiveAccess>,
pub plugin: Arc<dyn Authorizer>,
}Expand description
Allows what either allows: the chief and Operation tiers of the gateway, or an authorizer plugin.
Fields§
§live: Arc<LiveAccess>The gateway’s own tiers.
plugin: Arc<dyn Authorizer>The plugin.
Trait Implementations§
Source§impl Authorizer for EitherAuthorizer
impl Authorizer for EitherAuthorizer
Evaluates the request using the supplied authoritative person record.
Auto Trait Implementations§
impl !RefUnwindSafe for EitherAuthorizer
impl !UnwindSafe for EitherAuthorizer
impl Freeze for EitherAuthorizer
impl Send for EitherAuthorizer
impl Sync for EitherAuthorizer
impl Unpin for EitherAuthorizer
impl UnsafeUnpin for EitherAuthorizer
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.