#[non_exhaustive]pub enum SegmentFault {
Empty,
Dot,
Char(char),
}Expand description
Why a path segment cannot be a literal URL segment.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Empty
The segment is empty.
Dot
The segment is . or ...
Char(char)
The segment holds a character a route segment cannot.
Trait Implementations§
Source§impl Clone for SegmentFault
impl Clone for SegmentFault
impl Copy for SegmentFault
Source§impl Debug for SegmentFault
impl Debug for SegmentFault
Source§impl Display for SegmentFault
impl Display for SegmentFault
impl Eq for SegmentFault
Source§impl PartialEq for SegmentFault
impl PartialEq for SegmentFault
impl StructuralPartialEq for SegmentFault
Auto Trait Implementations§
impl Freeze for SegmentFault
impl RefUnwindSafe for SegmentFault
impl Send for SegmentFault
impl Sync for SegmentFault
impl Unpin for SegmentFault
impl UnsafeUnpin for SegmentFault
impl UnwindSafe for SegmentFault
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.