pub struct AllowAll;Expand description
Explicit allow-all hook. This is what a host gets when it configures no hook, preserving pre-0.1.1 behaviour while still settling every effect.
Trait Implementations§
Source§impl AdmissionHook for AllowAll
impl AdmissionHook for AllowAll
Source§fn approve(&self, _: &EffectRequest) -> AdmissionDecision
fn approve(&self, _: &EffectRequest) -> AdmissionDecision
Approve or deny. Called only after validation passed.
impl Copy for AllowAll
Auto Trait Implementations§
impl Freeze for AllowAll
impl RefUnwindSafe for AllowAll
impl Send for AllowAll
impl Sync for AllowAll
impl Unpin for AllowAll
impl UnsafeUnpin for AllowAll
impl UnwindSafe for AllowAll
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