pub enum Discard {
All,
Some(u8),
}Expand description
The different values the discard component of a CRI reference can have
Variants
All
Discard all existing path components,
Corresponds to true in the serialization.
Some(u8)
Discard as many path components as indicated in the argument.
Trait Implementations
impl Copy for Discard
impl StructuralPartialEq for Discard
Auto Trait Implementations
impl RefUnwindSafe for Discard
impl Send for Discard
impl Sync for Discard
impl Unpin for Discard
impl UnwindSafe for Discard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more