pub enum BusServiceNumberError {
RegexViolated,
LenCharMaxViolated,
}Variants§
Trait Implementations§
Source§impl Clone for BusServiceNumberError
impl Clone for BusServiceNumberError
Source§fn clone(&self) -> BusServiceNumberError
fn clone(&self) -> BusServiceNumberError
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 BusServiceNumberError
impl Debug for BusServiceNumberError
Source§impl Display for BusServiceNumberError
impl Display for BusServiceNumberError
Source§impl Error for BusServiceNumberError
impl Error for BusServiceNumberError
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 PartialEq for BusServiceNumberError
impl PartialEq for BusServiceNumberError
impl Eq for BusServiceNumberError
impl StructuralPartialEq for BusServiceNumberError
Auto Trait Implementations§
impl Freeze for BusServiceNumberError
impl RefUnwindSafe for BusServiceNumberError
impl Send for BusServiceNumberError
impl Sync for BusServiceNumberError
impl Unpin for BusServiceNumberError
impl UnsafeUnpin for BusServiceNumberError
impl UnwindSafe for BusServiceNumberError
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