pub enum OTVariant {
OneOutOfTwo,
OneOutOfN(usize),
RandomOT,
}Variants§
Trait Implementations§
impl StructuralPartialEq for OTVariant
Auto Trait Implementations§
impl Freeze for OTVariant
impl RefUnwindSafe for OTVariant
impl Send for OTVariant
impl Sync for OTVariant
impl Unpin for OTVariant
impl UnsafeUnpin for OTVariant
impl UnwindSafe for OTVariant
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