pub enum Class {
Exempt,
PreLanding,
Upgrade,
ReadOnly,
Writing,
}Expand description
What the gate holds an action to.
Variants§
Exempt
Needs no target, or must never fail.
PreLanding
Runs on a target with no instance by design, and before or during an upgrade. On an instance, an action that writes follows the writing rows.
Upgrade
upgrade alone, which keeps its own checks.
ReadOnly
Reads an instance.
Writing
Writes an instance when applied; a preview is read-only.
Trait Implementations§
impl Copy for Class
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Forget for Class
impl Freeze for Class
impl Move for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnsafeUnpin for Class
impl UnwindSafe for Class
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.