pub enum LogError {
DroppedLogs {
count: u64,
},
RolledOutLogs {
count: u64,
},
FailedToParseRecord(String),
Other {
message: String,
},
}
Expand description
Possible errors that can come in a DiagnosticsData
object where the data source is
DataSource::Logs
.
Variants§
DroppedLogs
Represents the number of logs that were dropped by the component writing the logs due to an error writing to the socket before succeeding to write a log.
RolledOutLogs
Represents the number of logs that were dropped for a component by the archivist due to the log buffer execeeding its maximum capacity before the current message.
FailedToParseRecord(String)
Other
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogError
impl<'de> Deserialize<'de> for LogError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MetadataError for LogError
impl MetadataError for LogError
impl Eq for LogError
impl StructuralPartialEq for LogError
Auto Trait Implementations§
impl Freeze for LogError
impl RefUnwindSafe for LogError
impl Send for LogError
impl Sync for LogError
impl Unpin for LogError
impl UnwindSafe for LogError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)