pub enum ApiError {
DaemonAbnormal(DaemonErrorKind),
Events(String),
Metrics(MetricsErrorKind),
MountFilesystem(DaemonErrorKind),
RequestSend(SendError<Option<ApiRequest>>),
ResponsePayloadType,
ResponseRecv(RecvError),
Wakeup(Error),
}Variants§
DaemonAbnormal(DaemonErrorKind)
Daemon internal error
Events(String)
Failed to get events information
Metrics(MetricsErrorKind)
Failed to get metrics information
MountFilesystem(DaemonErrorKind)
Failed to mount filesystem
RequestSend(SendError<Option<ApiRequest>>)
Failed to send request to the API service
ResponsePayloadType
Unrecognized payload content
ResponseRecv(RecvError)
Failed to receive response from the API service
Wakeup(Error)
Failed to send wakeup notification