pub enum GtsLoggerError {
CommonError(String),
TransportWouldBlock(GtsTransportError),
}Variants§
CommonError(String)
TransportWouldBlock(GtsTransportError)
Trait Implementations§
Source§impl Debug for GtsLoggerError
impl Debug for GtsLoggerError
Source§impl Display for GtsLoggerError
impl Display for GtsLoggerError
Source§impl Error for GtsLoggerError
impl Error for GtsLoggerError
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 From<GtsTransportError> for GtsLoggerError
impl From<GtsTransportError> for GtsLoggerError
Source§fn from(source: GtsTransportError) -> Self
fn from(source: GtsTransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GtsLoggerError
impl !RefUnwindSafe for GtsLoggerError
impl Send for GtsLoggerError
impl Sync for GtsLoggerError
impl Unpin for GtsLoggerError
impl !UnwindSafe for GtsLoggerError
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