pub enum ShipKitModuleError {
FailedToParseShipKitNr(ParseIntError),
ShipTypeError(ShipTypeError),
FailedToParse(String),
}
Variants§
Trait Implementations§
Source§impl Debug for ShipKitModuleError
impl Debug for ShipKitModuleError
Source§impl Display for ShipKitModuleError
impl Display for ShipKitModuleError
Source§impl Error for ShipKitModuleError
impl Error for ShipKitModuleError
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<ParseIntError> for ShipKitModuleError
impl From<ParseIntError> for ShipKitModuleError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<ShipTypeError> for ShipKitModuleError
impl From<ShipTypeError> for ShipKitModuleError
Source§fn from(source: ShipTypeError) -> Self
fn from(source: ShipTypeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShipKitModuleError
impl RefUnwindSafe for ShipKitModuleError
impl Send for ShipKitModuleError
impl Sync for ShipKitModuleError
impl Unpin for ShipKitModuleError
impl UnwindSafe for ShipKitModuleError
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