pub struct PassThrough;Expand description
Pass-through: forward every field of the caller’s context.
Explicit opt-out for activations whose callees genuinely need the caller’s roles, capabilities, or metadata to make local decisions. Activations declaring this policy should justify it in review — the audit record will surface the choice on every dispatch.
Trait Implementations§
Source§impl Clone for PassThrough
impl Clone for PassThrough
Source§fn clone(&self) -> PassThrough
fn clone(&self) -> PassThrough
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 moreSource§impl Debug for PassThrough
impl Debug for PassThrough
Source§impl ForwardPolicy for PassThrough
impl ForwardPolicy for PassThrough
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 PassThrough
Auto Trait Implementations§
impl Freeze for PassThrough
impl RefUnwindSafe for PassThrough
impl Send for PassThrough
impl Sync for PassThrough
impl Unpin for PassThrough
impl UnsafeUnpin for PassThrough
impl UnwindSafe for PassThrough
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