pub enum BitFieldSubCommand<E = &'static str, O = &'static str>{
Get(BitFieldGetSubCommand<E, O>),
Set(E, O, u64),
IncrBy(E, O, i64),
Overflow(BitFieldOverflow),
}
Expand description
Sub-command for the bitfield
command
Variants§
Implementations§
Source§impl<E, O> BitFieldSubCommand<E, O>
impl<E, O> BitFieldSubCommand<E, O>
Trait Implementations§
Source§impl<E, O> IntoArgs for BitFieldSubCommand<E, O>
impl<E, O> IntoArgs for BitFieldSubCommand<E, O>
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations§
impl<E, O> Freeze for BitFieldSubCommand<E, O>
impl<E, O> RefUnwindSafe for BitFieldSubCommand<E, O>where
E: RefUnwindSafe,
O: RefUnwindSafe,
impl<E, O> Send for BitFieldSubCommand<E, O>
impl<E, O> Sync for BitFieldSubCommand<E, O>
impl<E, O> Unpin for BitFieldSubCommand<E, O>
impl<E, O> UnwindSafe for BitFieldSubCommand<E, O>where
E: UnwindSafe,
O: UnwindSafe,
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