pub enum InvalidBookOperation {
PreProcessOrder(BookType),
Add(BookType),
Update(BookType),
}Variants§
Trait Implementations§
Source§impl Debug for InvalidBookOperation
impl Debug for InvalidBookOperation
Source§impl Display for InvalidBookOperation
impl Display for InvalidBookOperation
Source§impl Error for InvalidBookOperation
impl Error for InvalidBookOperation
1.30.0 · 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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for InvalidBookOperation
impl PartialEq for InvalidBookOperation
Source§fn eq(&self, other: &InvalidBookOperation) -> bool
fn eq(&self, other: &InvalidBookOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvalidBookOperation
Auto Trait Implementations§
impl Freeze for InvalidBookOperation
impl RefUnwindSafe for InvalidBookOperation
impl Send for InvalidBookOperation
impl Sync for InvalidBookOperation
impl Unpin for InvalidBookOperation
impl UnsafeUnpin for InvalidBookOperation
impl UnwindSafe for InvalidBookOperation
Blanket Implementations§
impl<T> Allocation for T
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