Enum ntcip::dms::multi::SyntaxError
source · pub enum SyntaxError {
}
Expand description
Syntax errors from parsing MULTI
Variants§
Other(&'static str)
An unspecified error
UnsupportedTag(String)
Specified tag not supported
UnsupportedTagValue(String)
Specified tag value not supported
TextTooBig
Specified text does not fit within text rectangle
FontNotDefined(u8)
Specified font not defined
CharacterNotDefined(char)
Specified character not defined in font
FieldDeviceNotExist
Specified field device does not exist
FieldDeviceError
Field device communication error
FlashRegionError
Specified flash region not supported
TagConflict
Specified tags conflict with each other
TooManyPages
Number of pages not supported
FontVersionID
Specified font version ID does not match
GraphicID
Specified graphic version ID does not match
GraphicNotDefined(u8)
Specified graphic number not defined
Trait Implementations§
source§impl Clone for SyntaxError
impl Clone for SyntaxError
source§fn clone(&self) -> SyntaxError
fn clone(&self) -> SyntaxError
Returns a copy 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 SyntaxError
impl Debug for SyntaxError
source§impl Display for SyntaxError
impl Display for SyntaxError
source§impl Error for SyntaxError
impl Error for SyntaxError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<FontError> for SyntaxError
impl From<FontError> for SyntaxError
source§impl From<GraphicError> for SyntaxError
impl From<GraphicError> for SyntaxError
source§fn from(err: GraphicError) -> Self
fn from(err: GraphicError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SyntaxError
impl PartialEq for SyntaxError
source§fn eq(&self, other: &SyntaxError) -> bool
fn eq(&self, other: &SyntaxError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SyntaxError
impl StructuralPartialEq for SyntaxError
Auto Trait Implementations§
impl Freeze for SyntaxError
impl RefUnwindSafe for SyntaxError
impl Send for SyntaxError
impl Sync for SyntaxError
impl Unpin for SyntaxError
impl UnwindSafe for SyntaxError
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