pub struct PolicyCheckRouter<C: ComponentInstanceInterface + 'static, T: CapabilityBound> { /* private fields */ }
Implementations§
Source§impl<C: ComponentInstanceInterface + 'static, T: CapabilityBound> PolicyCheckRouter<C, T>
impl<C: ComponentInstanceInterface + 'static, T: CapabilityBound> PolicyCheckRouter<C, T>
pub fn new( capability_source: CapabilitySource, policy_checker: GlobalPolicyChecker, router: Router<T>, ) -> Self
Trait Implementations§
Source§impl<C: ComponentInstanceInterface + 'static, T: CapabilityBound> Routable<T> for PolicyCheckRouter<C, T>
impl<C: ComponentInstanceInterface + 'static, T: CapabilityBound> Routable<T> for PolicyCheckRouter<C, T>
Auto Trait Implementations§
impl<C, T> Freeze for PolicyCheckRouter<C, T>
impl<C, T> !RefUnwindSafe for PolicyCheckRouter<C, T>
impl<C, T> Send for PolicyCheckRouter<C, T>
impl<C, T> Sync for PolicyCheckRouter<C, T>
impl<C, T> Unpin for PolicyCheckRouter<C, T>where
C: Unpin,
impl<C, T> !UnwindSafe for PolicyCheckRouter<C, T>
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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<R, T> LazyGet<T> for R
impl<R, T> LazyGet<T> for R
Source§fn lazy_get<P>(self, path: P, not_found_error: RoutingError) -> Router<T>where
P: IterablePath + Debug + 'static,
fn lazy_get<P>(self, path: P, not_found_error: RoutingError) -> Router<T>where
P: IterablePath + Debug + 'static,
Returns a router that requests a dictionary from the specified
path
relative to
the base routable or fails the request with not_found_error
if the member is not
found.