pub enum GateResult {
Approved,
Rejected(String),
NeedsApproval(String),
}Expand description
Gate result — safety and alignment check
Variants§
Trait Implementations§
Source§impl Clone for GateResult
impl Clone for GateResult
Source§fn clone(&self) -> GateResult
fn clone(&self) -> GateResult
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 GateResult
impl Debug for GateResult
Source§impl PartialEq for GateResult
impl PartialEq for GateResult
Source§fn eq(&self, other: &GateResult) -> bool
fn eq(&self, other: &GateResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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