pub struct OneOf(pub &'static [&'static str]);Expand description
A structure that implements de::Expected signaling that one of the types
in the slice was expected.
Tuple Fields§
§0: &'static [&'static str]Trait Implementations§
Auto Trait Implementations§
impl Freeze for OneOf
impl RefUnwindSafe for OneOf
impl Send for OneOf
impl Sync for OneOf
impl Unpin for OneOf
impl UnsafeUnpin for OneOf
impl UnwindSafe for OneOf
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