pub enum CriticalOptions {
None,
Custom(HashMap<String, String>),
}Expand description
Type that encapsulates the normal usage of the critical options field. I used a structure instead of an Option for consistency and possible future expansion into a ForceCommand type.
Variants§
None
Don’t use any critical options
Custom(HashMap<String, String>)
Allows a custom set of critical options. Does not contain any standard options.
Trait Implementations§
Source§impl Debug for CriticalOptions
impl Debug for CriticalOptions
Auto Trait Implementations§
impl Freeze for CriticalOptions
impl RefUnwindSafe for CriticalOptions
impl Send for CriticalOptions
impl Sync for CriticalOptions
impl Unpin for CriticalOptions
impl UnsafeUnpin for CriticalOptions
impl UnwindSafe for CriticalOptions
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