pub enum DataPointError {
AtLeastOneFieldRequired {
data_point_builder: DataPointBuilder,
},
}Expand description
Errors that occur while building DataPoints
Variants§
AtLeastOneFieldRequired
Returned when calling build on a DataPointBuilder that has no
fields.
Fields
§
data_point_builder: DataPointBuilderThe current state of the DataPointBuilder
Trait Implementations§
Source§impl Debug for DataPointError
impl Debug for DataPointError
Source§impl Display for DataPointError
impl Display for DataPointError
Source§impl Error for DataPointError
impl Error for DataPointError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for DataPointError
impl ErrorCompat for DataPointError
Auto Trait Implementations§
impl Freeze for DataPointError
impl RefUnwindSafe for DataPointError
impl Send for DataPointError
impl Sync for DataPointError
impl Unpin for DataPointError
impl UnsafeUnpin for DataPointError
impl UnwindSafe for DataPointError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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