pub enum SelectError {
ParseError(UnexpectedTokenError),
NoMatchError,
}Expand description
Errors which can be returned when performing a select operation.
Variants§
ParseError(UnexpectedTokenError)
Returned when the selector could not be parsed successfully.
NoMatchError
Returned when there were no matches for the selector.
Trait Implementations§
Source§impl Clone for SelectError
impl Clone for SelectError
Source§fn clone(&self) -> SelectError
fn clone(&self) -> SelectError
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 SelectError
Source§impl Debug for SelectError
impl Debug for SelectError
Source§impl PartialEq for SelectError
impl PartialEq for SelectError
Source§fn eq(&self, other: &SelectError) -> bool
fn eq(&self, other: &SelectError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectError
Auto Trait Implementations§
impl Freeze for SelectError
impl RefUnwindSafe for SelectError
impl Send for SelectError
impl Sync for SelectError
impl Unpin for SelectError
impl UnsafeUnpin for SelectError
impl UnwindSafe for SelectError
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