pub struct InvalidTextError {
pub index: usize,
pub c: char,
}Expand description
An error indicating that a string is not a valid TEXT value.
Fields§
§index: usizeThe byte index of the first invalid character.
c: charThe invalid character.
Trait Implementations§
Source§impl Clone for InvalidTextError
impl Clone for InvalidTextError
Source§fn clone(&self) -> InvalidTextError
fn clone(&self) -> InvalidTextError
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 InvalidTextError
impl Debug for InvalidTextError
Source§impl Display for InvalidTextError
impl Display for InvalidTextError
Source§impl Error for InvalidTextError
impl Error for InvalidTextError
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 InvalidTextError
impl PartialEq for InvalidTextError
impl Copy for InvalidTextError
impl Eq for InvalidTextError
impl StructuralPartialEq for InvalidTextError
Auto Trait Implementations§
impl Freeze for InvalidTextError
impl RefUnwindSafe for InvalidTextError
impl Send for InvalidTextError
impl Sync for InvalidTextError
impl Unpin for InvalidTextError
impl UnsafeUnpin for InvalidTextError
impl UnwindSafe for InvalidTextError
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