pub enum TrailError {
Discontinuous {
at: u32,
},
Empty(Empty),
Overflow(Overflow),
}Expand description
How drawing a trail refuses.
Variants§
Discontinuous
The edges offered are not one walk.
Fields
Empty(Empty)
No edge was offered.
Overflow(Overflow)
More edges were offered than the trail admits.
Trait Implementations§
Source§impl Clone for TrailError
impl Clone for TrailError
Source§fn clone(&self) -> TrailError
fn clone(&self) -> TrailError
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 TrailError
Source§impl Debug for TrailError
impl Debug for TrailError
Source§impl Display for TrailError
impl Display for TrailError
impl Eq for TrailError
Source§impl Error for TrailError
impl Error for TrailError
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 From<NonEmptyError> for TrailError
impl From<NonEmptyError> for TrailError
Source§fn from(refusal: NonEmptyError) -> Self
fn from(refusal: NonEmptyError) -> Self
Converts to this type from the input type.
Source§impl Hash for TrailError
impl Hash for TrailError
Source§impl PartialEq for TrailError
impl PartialEq for TrailError
impl StructuralPartialEq for TrailError
Auto Trait Implementations§
impl Freeze for TrailError
impl RefUnwindSafe for TrailError
impl Send for TrailError
impl Sync for TrailError
impl Unpin for TrailError
impl UnsafeUnpin for TrailError
impl UnwindSafe for TrailError
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