pub enum CapacityImportInventoryError {
TooLarge,
Utf8(Utf8Error),
Decode(Error),
Encode(Error),
AuthorityMismatch,
AlreadyPresent,
Review(CapacityImportReviewError),
Generation(Box<FleetGenerateError>),
}Expand description
Local projection failure leaves both original generator inputs untouched.
Variants§
TooLarge
Utf8(Utf8Error)
Decode(Error)
Encode(Error)
AuthorityMismatch
AlreadyPresent
Review(CapacityImportReviewError)
Generation(Box<FleetGenerateError>)
Trait Implementations§
Source§impl Debug for CapacityImportInventoryError
impl Debug for CapacityImportInventoryError
Source§impl Error for CapacityImportInventoryError
impl Error for CapacityImportInventoryError
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 From<CapacityImportReviewError> for CapacityImportInventoryError
impl From<CapacityImportReviewError> for CapacityImportInventoryError
Source§fn from(source: CapacityImportReviewError) -> Self
fn from(source: CapacityImportReviewError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CapacityImportInventoryError
impl From<Error> for CapacityImportInventoryError
Source§impl From<Error> for CapacityImportInventoryError
impl From<Error> for CapacityImportInventoryError
Source§impl From<FleetGenerateError> for CapacityImportInventoryError
impl From<FleetGenerateError> for CapacityImportInventoryError
Source§fn from(error: FleetGenerateError) -> Self
fn from(error: FleetGenerateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CapacityImportInventoryError
impl !UnwindSafe for CapacityImportInventoryError
impl Freeze for CapacityImportInventoryError
impl Send for CapacityImportInventoryError
impl Sync for CapacityImportInventoryError
impl Unpin for CapacityImportInventoryError
impl UnsafeUnpin for CapacityImportInventoryError
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