And

Struct And 

Source
pub struct And<A, B, C> { /* private fields */ }

Trait Implementations§

Source§

impl<T, Pre, A, B, C> Check<T, Pre> for And<A, B, C>
where A: Check<T, Pre>, B: Check<T, A::State>, C: CombineErrorBuilder<A::Error, B::Error>,

Source§

type State = <B as Check<T, <A as Check<T, Pre>>::State>>::State

Source§

type Error = <<C as CombineErrorBuilder<<A as Check<T, Pre>>::Error, <B as Check<T, <A as Check<T, Pre>>::State>>::Error>>::Combiner as CombineError<<A as Check<T, Pre>>::Error, <B as Check<T, <A as Check<T, Pre>>::State>>::Error>>::Out

Source§

fn check( self, value: CheckState<T, Pre>, ) -> CheckOutcome<T, Self::State, Self::Error>

Source§

fn and<B, C>(self, b: B) -> And<Self, B, C>
where B: Check<T, Self::State>, C: CombineErrorBuilder<Self::Error, B::Error>,

Source§

fn or<B, C>(self, b: B) -> Or<Self, B, C>
where B: Check<T, Self::State>, C: CombineErrorBuilder<Self::Error, B::Error>,

Auto Trait Implementations§

§

impl<A, B, C> Freeze for And<A, B, C>
where A: Freeze, B: Freeze,

§

impl<A, B, C> RefUnwindSafe for And<A, B, C>

§

impl<A, B, C> Send for And<A, B, C>
where A: Send, B: Send, C: Send,

§

impl<A, B, C> Sync for And<A, B, C>
where A: Sync, B: Sync, C: Sync,

§

impl<A, B, C> Unpin for And<A, B, C>
where A: Unpin, B: Unpin, C: Unpin,

§

impl<A, B, C> UnwindSafe for And<A, B, C>
where A: UnwindSafe, B: UnwindSafe, C: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.