pub enum EntityNameError {
Empty,
TooLong {
len: usize,
max: usize,
},
NonAscii,
}Expand description
EntityNameError
Variants§
Trait Implementations§
Source§impl Debug for EntityNameError
impl Debug for EntityNameError
Source§impl Display for EntityNameError
impl Display for EntityNameError
Source§impl Error for EntityNameError
impl Error for EntityNameError
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 From<EntityNameError> for IndexIdError
impl From<EntityNameError> for IndexIdError
Source§fn from(source: EntityNameError) -> Self
fn from(source: EntityNameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EntityNameError
impl RefUnwindSafe for EntityNameError
impl Send for EntityNameError
impl Sync for EntityNameError
impl Unpin for EntityNameError
impl UnwindSafe for EntityNameError
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