[−][src]Struct libimagentryfilter::builtin::header::field_istype::FieldIsType
Methods
impl FieldIsType
[src]
pub fn new(path: FieldPath, expected_type: Type) -> FieldIsType
[src]
Trait Implementations
impl FailableFilter<Entry> for FieldIsType
[src]
type Error = Error
fn filter(&self, e: &Entry) -> Result<bool>
[src]
fn not(self) -> FailableNot<Self>
[src]
Helper to invert a filter. Read more
fn or<F>(
self,
other: F
) -> FailableOr<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableOr<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical OR Read more
fn or_not<F>(
self,
other: F
) -> FailableOr<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableOr<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical OR and NOT Read more
fn or3<F, F2>(
self,
other: F,
other2: F2
) -> FailableOr<Self, FailableOr<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
[src]
self,
other: F,
other2: F2
) -> FailableOr<Self, FailableOr<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
Helper to connect three filters via logical OR Read more
fn nor<F>(self, other: F) -> FailableNot<FailableOr<Self, F>>
[src]
Helper to connect two filters via logical NOR Read more
fn xor<F>(self, other: F) -> FailableXOr<Self, F>
[src]
Helper to connect two filters via logical XOR Read more
fn and<F>(
self,
other: F
) -> FailableAnd<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableAnd<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical AND Read more
fn and3<F, F2>(
self,
other: F,
other2: F2
) -> FailableAnd<Self, FailableAnd<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
[src]
self,
other: F,
other2: F2
) -> FailableAnd<Self, FailableAnd<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
Helper to connect three filters via logical AND Read more
fn and_not<F>(
self,
other: F
) -> FailableAnd<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableAnd<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical AND and NOT Read more
fn nand<F>(self, other: F) -> FailableNot<FailableAnd<Self, F>>
[src]
Helper to connect two filters via logical NAND Read more
fn map_input<O, B, T, M>(self, map: M) -> FailableMapInput<Self, M, O, B> where
B: Borrow<O>,
M: Fn(&T) -> N,
[src]
B: Borrow<O>,
M: Fn(&T) -> N,
Helper to transform the input of a filter Read more
fn map_err<M, OE>(self, map: M) -> FailableMapErr<Self, M, OE> where
M: Fn(Self::Error) -> OE,
[src]
M: Fn(Self::Error) -> OE,
Helper to transform the input of a filter Read more
Auto Trait Implementations
impl Send for FieldIsType
impl Sync for FieldIsType
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<N, I> IntoFailableFilter<N> for I where
I: FailableFilter<N>,
[src]
I: FailableFilter<N>,
type IntoFilt = I
fn into_failable_filter(self) -> <I as IntoFailableFilter<N>>::IntoFilt
[src]
impl<I, E, T> FailableFilter<I> for T where
T: Fn(&I) -> Result<bool, E>,
[src]
T: Fn(&I) -> Result<bool, E>,
type Error = E
fn filter(&self, other: &I) -> Result<bool, <T as FailableFilter<I>>::Error>
[src]
fn not(self) -> FailableNot<Self>
[src]
Helper to invert a filter. Read more
fn or<F>(
self,
other: F
) -> FailableOr<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableOr<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical OR Read more
fn or_not<F>(
self,
other: F
) -> FailableOr<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableOr<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical OR and NOT Read more
fn or3<F, F2>(
self,
other: F,
other2: F2
) -> FailableOr<Self, FailableOr<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
[src]
self,
other: F,
other2: F2
) -> FailableOr<Self, FailableOr<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
Helper to connect three filters via logical OR Read more
fn nor<F>(self, other: F) -> FailableNot<FailableOr<Self, F>>
[src]
Helper to connect two filters via logical NOR Read more
fn xor<F>(self, other: F) -> FailableXOr<Self, F>
[src]
Helper to connect two filters via logical XOR Read more
fn and<F>(
self,
other: F
) -> FailableAnd<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableAnd<Self, <F as IntoFailableFilter<N>>::IntoFilt> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical AND Read more
fn and3<F, F2>(
self,
other: F,
other2: F2
) -> FailableAnd<Self, FailableAnd<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
[src]
self,
other: F,
other2: F2
) -> FailableAnd<Self, FailableAnd<<F as IntoFailableFilter<N>>::IntoFilt, <F2 as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
F2: IntoFailableFilter<N>,
Helper to connect three filters via logical AND Read more
fn and_not<F>(
self,
other: F
) -> FailableAnd<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
[src]
self,
other: F
) -> FailableAnd<Self, FailableNot<<F as IntoFailableFilter<N>>::IntoFilt>> where
F: IntoFailableFilter<N>,
Helper to connect two filters via logical AND and NOT Read more
fn nand<F>(self, other: F) -> FailableNot<FailableAnd<Self, F>>
[src]
Helper to connect two filters via logical NAND Read more
fn map_input<O, B, T, M>(self, map: M) -> FailableMapInput<Self, M, O, B> where
B: Borrow<O>,
M: Fn(&T) -> N,
[src]
B: Borrow<O>,
M: Fn(&T) -> N,
Helper to transform the input of a filter Read more
fn map_err<M, OE>(self, map: M) -> FailableMapErr<Self, M, OE> where
M: Fn(Self::Error) -> OE,
[src]
M: Fn(Self::Error) -> OE,
Helper to transform the input of a filter Read more