pub struct GatePolicy {
pub start: GateStart,
pub forced: ForcedPolicyReader,
}Expand description
Where the gate’s policy comes from: the one it starts under, with the lineage’s change it must still apply, and the forced changes that may overtake the in-order ones. Every other change reaches the gate as an output slot.
Fields§
§start: GateStartHow the gate starts (a primary resolves it with the crate’s
initial_gate_policy).
forced: ForcedPolicyReaderForced changes the matching stage has dispatched — see
ForcedPolicyReader and the module docs.
Auto Trait Implementations§
impl !RefUnwindSafe for GatePolicy
impl !UnwindSafe for GatePolicy
impl Freeze for GatePolicy
impl Send for GatePolicy
impl Sync for GatePolicy
impl Unpin for GatePolicy
impl UnsafeUnpin for GatePolicy
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