pub enum ProductBuildError {
MissingField(String),
EmptyVec(String),
}Expand description
Returned if any required fields in a Product are not present when being
converted from the corresponding builder
Variants§
Trait Implementations§
Source§impl Debug for ProductBuildError
impl Debug for ProductBuildError
Source§impl Display for ProductBuildError
impl Display for ProductBuildError
Source§impl Error for ProductBuildError
impl Error for ProductBuildError
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 StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
Returns the lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl Freeze for ProductBuildError
impl RefUnwindSafe for ProductBuildError
impl Send for ProductBuildError
impl Sync for ProductBuildError
impl Unpin for ProductBuildError
impl UnwindSafe for ProductBuildError
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