pub enum OneOf4<A, B, C, D> where
A: PartialEq,
B: PartialEq,
C: PartialEq,
D: PartialEq, {
A(A),
B(B),
C(C),
D(D),
}
Expand description
$t
Variants
A(A)
$i type
B(B)
$i type
C(C)
$i type
D(D)
$i type
Trait Implementations
impl<'b, A, B, C, D> Deserialize<'b> for OneOf4<A, B, C, D> where
A: PartialEq + for<'a> Deserialize<'a>,
B: PartialEq + for<'a> Deserialize<'a>,
C: PartialEq + for<'a> Deserialize<'a>,
D: PartialEq + for<'a> Deserialize<'a>,
impl<'b, A, B, C, D> Deserialize<'b> for OneOf4<A, B, C, D> where
A: PartialEq + for<'a> Deserialize<'a>,
B: PartialEq + for<'a> Deserialize<'a>,
C: PartialEq + for<'a> Deserialize<'a>,
D: PartialEq + for<'a> Deserialize<'a>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<A, B, C, D> RefUnwindSafe for OneOf4<A, B, C, D> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, B, C, D> UnwindSafe for OneOf4<A, B, C, D> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more