pub enum SchemaStringError {
StringTooLong {
length: usize,
max: usize,
},
InvalidCharacter {
character: char,
},
}Variants§
Trait Implementations§
Source§impl Clone for SchemaStringError
impl Clone for SchemaStringError
Source§fn clone(&self) -> SchemaStringError
fn clone(&self) -> SchemaStringError
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 SchemaStringError
impl Debug for SchemaStringError
Source§impl Display for SchemaStringError
impl Display for SchemaStringError
Source§impl Error for SchemaStringError
impl Error for SchemaStringError
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 SchemaStringError
impl PartialEq for SchemaStringError
impl Eq for SchemaStringError
impl StructuralPartialEq for SchemaStringError
Auto Trait Implementations§
impl Freeze for SchemaStringError
impl RefUnwindSafe for SchemaStringError
impl Send for SchemaStringError
impl Sync for SchemaStringError
impl Unpin for SchemaStringError
impl UnsafeUnpin for SchemaStringError
impl UnwindSafe for SchemaStringError
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