Enum vcd::InvalidIdCode
source · pub enum InvalidIdCode {
Empty,
InvalidChars,
TooLong,
}
Expand description
Parse error for invalid ID code.
Variants§
Trait Implementations§
source§impl Clone for InvalidIdCode
impl Clone for InvalidIdCode
source§fn clone(&self) -> InvalidIdCode
fn clone(&self) -> InvalidIdCode
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 InvalidIdCode
impl Debug for InvalidIdCode
source§impl Display for InvalidIdCode
impl Display for InvalidIdCode
source§impl Error for InvalidIdCode
impl Error for InvalidIdCode
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<InvalidIdCode> for ParseErrorKind
impl From<InvalidIdCode> for ParseErrorKind
source§fn from(e: InvalidIdCode) -> Self
fn from(e: InvalidIdCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InvalidIdCode
impl Send for InvalidIdCode
impl Sync for InvalidIdCode
impl Unpin for InvalidIdCode
impl UnwindSafe for InvalidIdCode
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