pub struct UnknownElectionSubcategoryError(/* private fields */);Expand description
Error returned when an unknown election subcategory string is encountered.
Trait Implementations§
Source§impl Clone for UnknownElectionSubcategoryError
impl Clone for UnknownElectionSubcategoryError
Source§fn clone(&self) -> UnknownElectionSubcategoryError
fn clone(&self) -> UnknownElectionSubcategoryError
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 Error for UnknownElectionSubcategoryError
impl Error for UnknownElectionSubcategoryError
1.30.0 · 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 UnknownElectionSubcategoryError
impl PartialEq for UnknownElectionSubcategoryError
Source§fn eq(&self, other: &UnknownElectionSubcategoryError) -> bool
fn eq(&self, other: &UnknownElectionSubcategoryError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UnknownElectionSubcategoryError
impl StructuralPartialEq for UnknownElectionSubcategoryError
Auto Trait Implementations§
impl Freeze for UnknownElectionSubcategoryError
impl RefUnwindSafe for UnknownElectionSubcategoryError
impl Send for UnknownElectionSubcategoryError
impl Sync for UnknownElectionSubcategoryError
impl Unpin for UnknownElectionSubcategoryError
impl UnsafeUnpin for UnknownElectionSubcategoryError
impl UnwindSafe for UnknownElectionSubcategoryError
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