pub enum ParseMode {
Strict,
Relaxed,
Substvar,
}Expand description
Parsing mode for Relations fields
Variants§
Strict
Strict parsing - fail on syntax errors
Relaxed
Relaxed parsing - accept syntax errors
Substvar
Allow substvars like ${misc:Depends}
Trait Implementations§
impl Copy for ParseMode
impl Eq for ParseMode
impl StructuralPartialEq for ParseMode
Auto Trait Implementations§
impl Freeze for ParseMode
impl RefUnwindSafe for ParseMode
impl Send for ParseMode
impl Sync for ParseMode
impl Unpin for ParseMode
impl UnwindSafe for ParseMode
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