[][src]Struct figment::error::OneOf

pub struct OneOf(pub &'static [&'static str]);

A structure that implements de::Expected signaling that one of the types in the slice was expected.

Trait Implementations

impl Display for OneOf[src]

impl Expected for OneOf[src]

Auto Trait Implementations

impl RefUnwindSafe for OneOf

impl Send for OneOf

impl Sync for OneOf

impl Unpin for OneOf

impl UnwindSafe for OneOf

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'de, T> Expected for T where
    T: Visitor<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,