#[non_exhaustive]pub enum ReasoningMode {
Known(ReasoningModeKnown),
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Known(ReasoningModeKnown)
Unknown(String)
Implementations§
Trait Implementations§
Source§impl Clone for ReasoningMode
impl Clone for ReasoningMode
Source§fn clone(&self) -> ReasoningMode
fn clone(&self) -> ReasoningMode
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 ReasoningMode
impl Debug for ReasoningMode
Source§impl<'de> Deserialize<'de> for ReasoningMode
impl<'de> Deserialize<'de> for ReasoningMode
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReasoningMode
Source§impl PartialEq for ReasoningMode
impl PartialEq for ReasoningMode
Source§impl Serialize for ReasoningMode
impl Serialize for ReasoningMode
impl StructuralPartialEq for ReasoningMode
Auto Trait Implementations§
impl Freeze for ReasoningMode
impl RefUnwindSafe for ReasoningMode
impl Send for ReasoningMode
impl Sync for ReasoningMode
impl Unpin for ReasoningMode
impl UnsafeUnpin for ReasoningMode
impl UnwindSafe for ReasoningMode
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