pub enum ConstructorError {
Show 16 variants
BadFilename(Infallible),
CouldNotOpenFile(String, String),
PrematureEOF(String),
FileIOError(String, String),
MissingTimescale,
TimescaleParseError(String, String),
MissingTimeinterval,
TimeintervalParseError(String, String),
StationCountParseError(String, String),
StationParseError(String, String),
CabCountParseError(String, String),
CabParseError(String, String),
TrainCountParseError(String, String),
TrainParseError(String, String),
NoteCountParseError(String, String),
OptionsCountParseError(String, String),
}Variants§
BadFilename(Infallible)
CouldNotOpenFile(String, String)
PrematureEOF(String)
FileIOError(String, String)
MissingTimescale
TimescaleParseError(String, String)
MissingTimeinterval
TimeintervalParseError(String, String)
StationCountParseError(String, String)
StationParseError(String, String)
CabCountParseError(String, String)
CabParseError(String, String)
TrainCountParseError(String, String)
TrainParseError(String, String)
NoteCountParseError(String, String)
OptionsCountParseError(String, String)
Trait Implementations§
Source§impl Clone for ConstructorError
impl Clone for ConstructorError
Source§fn clone(&self) -> ConstructorError
fn clone(&self) -> ConstructorError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConstructorError
impl Debug for ConstructorError
Source§impl PartialEq for ConstructorError
impl PartialEq for ConstructorError
impl StructuralPartialEq for ConstructorError
Auto Trait Implementations§
impl Freeze for ConstructorError
impl RefUnwindSafe for ConstructorError
impl Send for ConstructorError
impl Sync for ConstructorError
impl Unpin for ConstructorError
impl UnwindSafe for ConstructorError
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