pub enum KeyRule {
Empty,
NotUtf8,
ControlChar,
LeadingSlash,
TrailingSlash,
EmptySegment,
DotSegment,
SegmentTooLong,
TooLong,
ReservedPrefix,
ReservedName,
}Expand description
The rules of 2.3 an attempt checks, in the table’s order, which their order as values keeps.
Variants§
Empty
empty.
NotUtf8
not_utf8.
ControlChar
control_char.
LeadingSlash
leading_slash.
TrailingSlash
trailing_slash.
EmptySegment
empty_segment.
DotSegment
dot_segment.
SegmentTooLong
segment_too_long.
TooLong
too_long.
ReservedPrefix
reserved_prefix.
ReservedName
reserved_name.
Implementations§
Trait Implementations§
impl Copy for KeyRule
impl Eq for KeyRule
Source§impl Ord for KeyRule
impl Ord for KeyRule
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for KeyRule
impl PartialOrd for KeyRule
impl StructuralPartialEq for KeyRule
Auto Trait Implementations§
impl Forget for KeyRule
impl Freeze for KeyRule
impl Move for KeyRule
impl RefUnwindSafe for KeyRule
impl Send for KeyRule
impl Sync for KeyRule
impl Unpin for KeyRule
impl UnsafeUnpin for KeyRule
impl UnwindSafe for KeyRule
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