pub enum AddCommandOutcome {
Added,
AlreadyPresent,
}Expand description
Result of an add_command call.
Variants§
Added
The command entry was appended.
AlreadyPresent
name was already declared under commands:; file untouched.
Trait Implementations§
Source§impl Clone for AddCommandOutcome
impl Clone for AddCommandOutcome
Source§fn clone(&self) -> AddCommandOutcome
fn clone(&self) -> AddCommandOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 AddCommandOutcome
impl Debug for AddCommandOutcome
Source§impl PartialEq for AddCommandOutcome
impl PartialEq for AddCommandOutcome
impl Copy for AddCommandOutcome
impl Eq for AddCommandOutcome
impl StructuralPartialEq for AddCommandOutcome
Auto Trait Implementations§
impl Freeze for AddCommandOutcome
impl RefUnwindSafe for AddCommandOutcome
impl Send for AddCommandOutcome
impl Sync for AddCommandOutcome
impl Unpin for AddCommandOutcome
impl UnsafeUnpin for AddCommandOutcome
impl UnwindSafe for AddCommandOutcome
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.