pub enum SinkReason {
Sink(String),
Mock,
StgCtrl,
Uvs(UvsReason),
}Variants§
Implementations§
Trait Implementations§
Source§impl Debug for SinkReason
impl Debug for SinkReason
Source§impl Display for SinkReason
impl Display for SinkReason
Source§impl Error for SinkReason
impl Error for SinkReason
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 SinkReason
impl ErrorCode for SinkReason
fn error_code(&self) -> i32
Source§impl From<Error> for SinkReason
impl From<Error> for SinkReason
Source§impl<T> From<SendError<T>> for SinkReasonwhere
T: ReasonSummary,
impl<T> From<SendError<T>> for SinkReasonwhere
T: ReasonSummary,
Source§impl From<String> for SinkReason
impl From<String> for SinkReason
Source§impl From<UvsReason> for SinkReason
impl From<UvsReason> for SinkReason
Source§impl PartialEq for SinkReason
impl PartialEq for SinkReason
Source§impl Serialize for SinkReason
impl Serialize for SinkReason
impl StructuralPartialEq for SinkReason
Auto Trait Implementations§
impl Freeze for SinkReason
impl RefUnwindSafe for SinkReason
impl Send for SinkReason
impl Sync for SinkReason
impl Unpin for SinkReason
impl UnwindSafe for SinkReason
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