pub enum FilenamesError {
Index(String),
Value(String),
NameTranslation(String),
}Expand description
The errors of the module.
Variants§
Index(String)
IndexError: an empty user name without a prefix.
Value(String)
ValueError: the prefix and suffix leave no room for a counter.
NameTranslation(String)
NameTranslationError: no unique name could be found.
Trait Implementations§
Source§impl Clone for FilenamesError
impl Clone for FilenamesError
Source§impl Debug for FilenamesError
impl Debug for FilenamesError
Source§impl Display for FilenamesError
impl Display for FilenamesError
impl Eq for FilenamesError
Source§impl Error for FilenamesError
impl Error for FilenamesError
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 FilenamesError
impl PartialEq for FilenamesError
impl StructuralPartialEq for FilenamesError
Auto Trait Implementations§
impl Forget for FilenamesError
impl Freeze for FilenamesError
impl Move for FilenamesError
impl RefUnwindSafe for FilenamesError
impl Send for FilenamesErrorwhere
RawVecInner: Send,
impl Sync for FilenamesErrorwhere
RawVecInner: Sync,
impl Unpin for FilenamesError
impl UnsafeUnpin for FilenamesError
impl UnwindSafe for FilenamesErrorwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.