Enum Trade
pub(crate) enum Trade<'a> {
Carried(Option<&'a str>),
Absent,
}Expand description
Whether a missing-input exception carries a trade attribute: a
valuation’s refusal does (the trade, or None outside a book), a lookup’s
does not.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for Trade<'a>
impl<'a> RefUnwindSafe for Trade<'a>
impl<'a> Send for Trade<'a>
impl<'a> Sync for Trade<'a>
impl<'a> Unpin for Trade<'a>
impl<'a> UnsafeUnpin for Trade<'a>
impl<'a> UnwindSafe for Trade<'a>
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