pub enum GateResult {
Pass,
Fail {
reason: String,
},
Unknown {
reason: String,
},
}Expand description
A gate’s verdict. Unknown is never a pass.
Variants§
Trait Implementations§
Source§impl Clone for GateResult
impl Clone for GateResult
Source§impl Debug for GateResult
impl Debug for GateResult
Source§impl PartialEq for GateResult
impl PartialEq for GateResult
impl StructuralPartialEq for GateResult
Auto Trait Implementations§
impl Freeze for GateResult
impl RefUnwindSafe for GateResult
impl Send for GateResult
impl Sync for GateResult
impl Unpin for GateResult
impl UnsafeUnpin for GateResult
impl UnwindSafe for GateResult
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