pub struct UnknownRelation(pub String);Expand description
Parse error returned when a string does not match any canonical relation.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UnknownRelation
impl Clone for UnknownRelation
Source§fn clone(&self) -> UnknownRelation
fn clone(&self) -> UnknownRelation
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 moreSource§impl Debug for UnknownRelation
impl Debug for UnknownRelation
Source§impl Display for UnknownRelation
impl Display for UnknownRelation
Source§impl Error for UnknownRelation
Available on crate feature std only.
impl Error for UnknownRelation
Available on crate feature
std only.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 UnknownRelation
impl PartialEq for UnknownRelation
Source§fn eq(&self, other: &UnknownRelation) -> bool
fn eq(&self, other: &UnknownRelation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UnknownRelation
impl StructuralPartialEq for UnknownRelation
Auto Trait Implementations§
impl Freeze for UnknownRelation
impl RefUnwindSafe for UnknownRelation
impl Send for UnknownRelation
impl Sync for UnknownRelation
impl Unpin for UnknownRelation
impl UnsafeUnpin for UnknownRelation
impl UnwindSafe for UnknownRelation
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