pub enum OMLCodeReason {
Syntax(String),
NotFound(String),
Uvs(UvsReason),
}Variants§
Trait Implementations§
Source§impl Clone for OMLCodeReason
impl Clone for OMLCodeReason
Source§fn clone(&self) -> OMLCodeReason
fn clone(&self) -> OMLCodeReason
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 OMLCodeReason
impl Debug for OMLCodeReason
Source§impl Display for OMLCodeReason
impl Display for OMLCodeReason
Source§impl Error for OMLCodeReason
impl Error for OMLCodeReason
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 OMLCodeReason
impl ErrorCode for OMLCodeReason
fn error_code(&self) -> i32
Source§impl From<DataErrKind> for OMLCodeReason
impl From<DataErrKind> for OMLCodeReason
Source§fn from(value: DataErrKind) -> Self
fn from(value: DataErrKind) -> Self
Converts to this type from the input type.
Source§impl From<OMLCodeReason> for RunReason
impl From<OMLCodeReason> for RunReason
Source§fn from(value: OMLCodeReason) -> Self
fn from(value: OMLCodeReason) -> Self
Converts to this type from the input type.
Source§impl From<OMLCodeReason> for UvsReason
impl From<OMLCodeReason> for UvsReason
Source§fn from(value: OMLCodeReason) -> Self
fn from(value: OMLCodeReason) -> Self
Converts to this type from the input type.
Source§impl From<String> for OMLCodeReason
impl From<String> for OMLCodeReason
Source§impl From<UvsReason> for OMLCodeReason
impl From<UvsReason> for OMLCodeReason
Source§impl PartialEq for OMLCodeReason
impl PartialEq for OMLCodeReason
Source§impl Serialize for OMLCodeReason
impl Serialize for OMLCodeReason
Source§impl SysErrorCode for OMLCodeReason
impl SysErrorCode for OMLCodeReason
impl StructuralPartialEq for OMLCodeReason
Auto Trait Implementations§
impl Freeze for OMLCodeReason
impl RefUnwindSafe for OMLCodeReason
impl Send for OMLCodeReason
impl Sync for OMLCodeReason
impl Unpin for OMLCodeReason
impl UnwindSafe for OMLCodeReason
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