pub struct Anonymous;Expand description
Anonymous: drop the entire AuthContext.
Explicit lockdown. The callee sees no identity, no roles, no capabilities. Use for activations that should NEVER inherit caller context (e.g., a public-facing echo service whose responses must not leak who invoked them).
Trait Implementations§
Source§impl ForwardPolicy for Anonymous
impl ForwardPolicy for Anonymous
Source§fn name(&self) -> ForwardPolicyName
fn name(&self) -> ForwardPolicyName
Stable identifier for this policy. Used in audit records.
Source§fn forward(&self, _ctx: &AuthContext, _site: &CallSite) -> ForwardDerivation
fn forward(&self, _ctx: &AuthContext, _site: &CallSite) -> ForwardDerivation
Derive forwarding parameters for the callee. Read more
impl Copy for Anonymous
Auto Trait Implementations§
impl Freeze for Anonymous
impl RefUnwindSafe for Anonymous
impl Send for Anonymous
impl Sync for Anonymous
impl Unpin for Anonymous
impl UnsafeUnpin for Anonymous
impl UnwindSafe for Anonymous
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