pub enum ConfReason<T>{
Syntax(String),
NotFound(String),
Uvs(UvsReason),
_Take(PhantomData<T>),
}Variants§
Trait Implementations§
Source§impl<T> Clone for ConfReason<T>
impl<T> Clone for ConfReason<T>
Source§fn clone(&self) -> ConfReason<T>
fn clone(&self) -> ConfReason<T>
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<T> Debug for ConfReason<T>
impl<T> Debug for ConfReason<T>
Source§impl<T> Display for ConfReason<T>
impl<T> Display for ConfReason<T>
Source§impl<T> Error for ConfReason<T>
impl<T> Error for ConfReason<T>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl ErrorCode for ConfReason<ConfCore>
impl ErrorCode for ConfReason<ConfCore>
fn error_code(&self) -> i32
Source§impl ErrorCode for ConfReason<ConfDynamic>
impl ErrorCode for ConfReason<ConfDynamic>
fn error_code(&self) -> i32
Source§impl ErrorCode for ConfReason<ConfFeature>
impl ErrorCode for ConfReason<ConfFeature>
fn error_code(&self) -> i32
Source§impl From<ConfReason<ConfCore>> for ConfReason<ConfDynamic>
impl From<ConfReason<ConfCore>> for ConfReason<ConfDynamic>
Source§fn from(value: ConfReason<ConfCore>) -> Self
fn from(value: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfCore>> for ConfReason<ConfFeature>
impl From<ConfReason<ConfCore>> for ConfReason<ConfFeature>
Source§fn from(value: ConfReason<ConfCore>) -> Self
fn from(value: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfCore>> for RunReason
impl From<ConfReason<ConfCore>> for RunReason
Source§fn from(value: ConfReason<ConfCore>) -> Self
fn from(value: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfCore>> for UvsReason
impl From<ConfReason<ConfCore>> for UvsReason
Source§fn from(e: ConfReason<ConfCore>) -> Self
fn from(e: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfDynamic>> for UvsReason
impl From<ConfReason<ConfDynamic>> for UvsReason
Source§fn from(e: ConfReason<ConfDynamic>) -> Self
fn from(e: ConfReason<ConfDynamic>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfFeature>> for UvsReason
impl From<ConfReason<ConfFeature>> for UvsReason
Source§fn from(e: ConfReason<ConfFeature>) -> Self
fn from(e: ConfReason<ConfFeature>) -> Self
Converts to this type from the input type.
Source§impl<T> From<PhantomData<T>> for ConfReason<T>
impl<T> From<PhantomData<T>> for ConfReason<T>
Source§fn from(value: PhantomData<T>) -> Self
fn from(value: PhantomData<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<String> for ConfReason<T>
impl<T> From<String> for ConfReason<T>
Source§impl<T> From<UvsReason> for ConfReason<T>
impl<T> From<UvsReason> for ConfReason<T>
Source§impl<T> PartialEq for ConfReason<T>
impl<T> PartialEq for ConfReason<T>
Source§impl<T> Serialize for ConfReason<T>
impl<T> Serialize for ConfReason<T>
Source§impl SysErrorCode for ConfReason<ConfCore>
impl SysErrorCode for ConfReason<ConfCore>
Source§impl SysErrorCode for ConfReason<ConfDynamic>
impl SysErrorCode for ConfReason<ConfDynamic>
Source§impl SysErrorCode for ConfReason<ConfFeature>
impl SysErrorCode for ConfReason<ConfFeature>
impl<T> StructuralPartialEq for ConfReason<T>
Auto Trait Implementations§
impl<T> Freeze for ConfReason<T>
impl<T> RefUnwindSafe for ConfReason<T>where
T: RefUnwindSafe,
impl<T> Send for ConfReason<T>where
T: Send,
impl<T> Sync for ConfReason<T>where
T: Sync,
impl<T> Unpin for ConfReason<T>where
T: Unpin,
impl<T> UnwindSafe for ConfReason<T>where
T: 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