pub enum IndexNameError {
TooManyFields {
len: usize,
max: usize,
},
FieldTooLong {
field: String,
max: usize,
},
FieldNonAscii {
field: String,
},
TooLong {
len: usize,
max: usize,
},
}Expand description
IndexNameError
Errors returned when constructing an IndexName.
Variants§
Trait Implementations§
Source§impl Debug for IndexNameError
impl Debug for IndexNameError
Source§impl Display for IndexNameError
impl Display for IndexNameError
Source§impl Error for IndexNameError
impl Error for IndexNameError
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<IndexNameError> for IndexIdError
impl From<IndexNameError> for IndexIdError
Source§fn from(source: IndexNameError) -> Self
fn from(source: IndexNameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IndexNameError
impl RefUnwindSafe for IndexNameError
impl Send for IndexNameError
impl Sync for IndexNameError
impl Unpin for IndexNameError
impl UnwindSafe for IndexNameError
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