pub enum PublishError {
LogSinkConnect(String),
MakeSocket(Status),
SendSocket(Error),
SetGlobalDefault(SetGlobalDefaultError),
InitLogForward(SetLoggerError),
}
Expand description
Errors arising while forwarding a diagnostics stream to the environment.
Variants§
LogSinkConnect(String)
Connection to fuchsia.logger.LogSink failed.
MakeSocket(Status)
Couldn’t create a new socket.
SendSocket(Error)
An issue with the LogSink channel or socket prevented us from sending it to the LogSink
.
SetGlobalDefault(SetGlobalDefaultError)
Setting the default global [tracing::Subscriber
] failed.
InitLogForward(SetLoggerError)
Installing a Logger.
Trait Implementations§
Source§impl Debug for PublishError
impl Debug for PublishError
Source§impl Display for PublishError
impl Display for PublishError
Source§impl Error for PublishError
impl Error for PublishError
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<SetGlobalDefaultError> for PublishError
impl From<SetGlobalDefaultError> for PublishError
Source§impl From<SetLoggerError> for PublishError
impl From<SetLoggerError> for PublishError
Source§fn from(source: SetLoggerError) -> Self
fn from(source: SetLoggerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PublishError
impl !RefUnwindSafe for PublishError
impl Send for PublishError
impl Sync for PublishError
impl Unpin for PublishError
impl !UnwindSafe for PublishError
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