pub enum TracingError {
TargetProxyOpen,
RecordingStart(String),
RecordingAlreadyStarted,
RecordingStop(String),
DuplicateTraceFile(String),
NoSuchTraceFile(String),
FidlError(Error),
GeneralError(String),
}
Variants§
TargetProxyOpen
Error encountered when opening the proxy to the target.
RecordingStart(String)
This is a general error when starting a trace.
RecordingAlreadyStarted
An error encountered if a trace recording has already been started for a given Fuchsia target.
RecordingStop(String)
An error encountered when attempting to stop a trace. This causes an
immediate termination of the client channel, so the user should not
attempt to run StopRecording
again.
DuplicateTraceFile(String)
Error for when a trace file is already being written to by the tracing service.
NoSuchTraceFile(String)
When attempting to stop a trace, there were no active traces found for the given lookup name.
FidlError(Error)
GeneralError(String)
Trait Implementations§
Source§impl Debug for TracingError
impl Debug for TracingError
Source§impl Display for TracingError
impl Display for TracingError
Source§impl Error for TracingError
impl Error for TracingError
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<Error> for TracingError
impl From<Error> for TracingError
Source§impl From<StartError> for TracingError
impl From<StartError> for TracingError
Source§fn from(value: StartError) -> Self
fn from(value: StartError) -> Self
Converts to this type from the input type.
Source§impl Into<RecordingError> for TracingError
impl Into<RecordingError> for TracingError
Source§fn into(self) -> RecordingError
fn into(self) -> RecordingError
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for TracingError
impl PartialEq for TracingError
Auto Trait Implementations§
impl Freeze for TracingError
impl !RefUnwindSafe for TracingError
impl Send for TracingError
impl Sync for TracingError
impl Unpin for TracingError
impl !UnwindSafe for TracingError
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