Type Definition frame_support::traits::EnsureOneOf

source ·
pub type EnsureOneOf<L, R> = EitherOfDiverse<L, R>;
👎Deprecated: Use EitherOfDiverse instead
Expand description

“OR gate” implementation of EnsureOrigin allowing for different Success types for L and R, with them combined using an Either type.

Origin check will pass if L or R origin check passes. L is tested first.

Successful origin is derived from the left side.