Enum collectd_plugin::SubmitError
source · pub enum SubmitError {
Dispatch(i32),
Field {
name: &'static str,
err: ArrayError,
},
}
Expand description
Errors that occur when submitting values to collectd
Variants§
Dispatch(i32)
Contains the exit status that collectd returns when a submission fails
Field
Error submitting a field
Trait Implementations§
source§impl Clone for SubmitError
impl Clone for SubmitError
source§fn clone(&self) -> SubmitError
fn clone(&self) -> SubmitError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubmitError
impl Debug for SubmitError
source§impl Display for SubmitError
impl Display for SubmitError
source§impl Error for SubmitError
impl Error for SubmitError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for SubmitError
impl RefUnwindSafe for SubmitError
impl Send for SubmitError
impl Sync for SubmitError
impl Unpin for SubmitError
impl UnwindSafe for SubmitError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)