pub enum EventOutcome {
Success,
Denied,
Error,
}Expand description
Outcome of a verb execution recorded in an event log entry.
Variants§
Success
The verb executed successfully.
Denied
The verb was denied by a policy check.
Error
The verb encountered a runtime error.
Implementations§
Trait Implementations§
Source§impl Clone for EventOutcome
impl Clone for EventOutcome
Source§fn clone(&self) -> EventOutcome
fn clone(&self) -> EventOutcome
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 moreimpl Copy for EventOutcome
Source§impl Debug for EventOutcome
impl Debug for EventOutcome
Source§impl Default for EventOutcome
impl Default for EventOutcome
Source§fn default() -> EventOutcome
fn default() -> EventOutcome
Returns the “default value” for a type. Read more
Source§impl Display for EventOutcome
impl Display for EventOutcome
impl Eq for EventOutcome
Source§impl Hash for EventOutcome
impl Hash for EventOutcome
Source§impl PartialEq for EventOutcome
impl PartialEq for EventOutcome
Source§fn eq(&self, other: &EventOutcome) -> bool
fn eq(&self, other: &EventOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventOutcome
Auto Trait Implementations§
impl Freeze for EventOutcome
impl RefUnwindSafe for EventOutcome
impl Send for EventOutcome
impl Sync for EventOutcome
impl Unpin for EventOutcome
impl UnsafeUnpin for EventOutcome
impl UnwindSafe for EventOutcome
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