pub enum RelationError {
Empty,
ControlCharacter,
}Expand description
Error returned by relation constructors.
Variants§
Trait Implementations§
Source§impl Clone for RelationError
impl Clone for RelationError
Source§fn clone(&self) -> RelationError
fn clone(&self) -> RelationError
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 RelationError
impl Debug for RelationError
Source§impl Display for RelationError
impl Display for RelationError
Source§impl Error for RelationError
impl Error for RelationError
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 RelationError
impl PartialEq for RelationError
Source§fn eq(&self, other: &RelationError) -> bool
fn eq(&self, other: &RelationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RelationError
impl Eq for RelationError
impl StructuralPartialEq for RelationError
Auto Trait Implementations§
impl Freeze for RelationError
impl RefUnwindSafe for RelationError
impl Send for RelationError
impl Sync for RelationError
impl Unpin for RelationError
impl UnsafeUnpin for RelationError
impl UnwindSafe for RelationError
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