#[non_exhaustive]pub enum Clash {
WritableDuplicate,
ExtraUnresolved,
}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.
WritableDuplicate
The hook repeats an account of the trade, and one copy is writable. A swap with it fails. A read-only hook repeat of the market is not a clash.
ExtraUnresolved
Trait Implementations§
impl Copy for Clash
impl Eq for Clash
impl StructuralPartialEq for Clash
Auto Trait Implementations§
impl Freeze for Clash
impl RefUnwindSafe for Clash
impl Send for Clash
impl Sync for Clash
impl Unpin for Clash
impl UnsafeUnpin for Clash
impl UnwindSafe for Clash
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