pub enum ScopeTextError {
Empty,
ControlCharacter,
TooLong {
maximum: usize,
},
}Expand description
One violated runtime constraint shared by scope-query request adapters.
Variants§
Empty
The value was empty after trimming surrounding whitespace.
ControlCharacter
The value contained a terminal or structural control character.
TooLong
The Unicode scalar length exceeded the declared maximum.
Trait Implementations§
Source§impl Clone for ScopeTextError
impl Clone for ScopeTextError
Source§fn clone(&self) -> ScopeTextError
fn clone(&self) -> ScopeTextError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScopeTextError
Source§impl Debug for ScopeTextError
impl Debug for ScopeTextError
impl Eq for ScopeTextError
Source§impl PartialEq for ScopeTextError
impl PartialEq for ScopeTextError
impl StructuralPartialEq for ScopeTextError
Auto Trait Implementations§
impl Freeze for ScopeTextError
impl RefUnwindSafe for ScopeTextError
impl Send for ScopeTextError
impl Sync for ScopeTextError
impl Unpin for ScopeTextError
impl UnsafeUnpin for ScopeTextError
impl UnwindSafe for ScopeTextError
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