pub enum SourceReason {
NotData,
EOF,
SupplierError(String),
Disconnect(String),
Other(String),
Uvs(UvsReason),
}Variants§
Trait Implementations§
Source§impl Clone for SourceReason
impl Clone for SourceReason
Source§fn clone(&self) -> SourceReason
fn clone(&self) -> SourceReason
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 SourceReason
impl Debug for SourceReason
Source§impl Display for SourceReason
impl Display for SourceReason
Source§impl Error for SourceReason
impl Error for SourceReason
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 SourceReason
impl ErrorCode for SourceReason
fn error_code(&self) -> i32
Source§impl From<String> for SourceReason
impl From<String> for SourceReason
Source§impl From<UvsReason> for SourceReason
impl From<UvsReason> for SourceReason
Source§impl PartialEq for SourceReason
impl PartialEq for SourceReason
Source§impl Serialize for SourceReason
impl Serialize for SourceReason
impl StructuralPartialEq for SourceReason
Auto Trait Implementations§
impl Freeze for SourceReason
impl RefUnwindSafe for SourceReason
impl Send for SourceReason
impl Sync for SourceReason
impl Unpin for SourceReason
impl UnwindSafe for SourceReason
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