[−][src]Enum ensure::MetResult
Result of ensuring target state with met()
Variants
AlreadyMet(N)
Met(M)
Methods
impl<T> MetResult<T, T>
[src]
pub fn coalesce(self) -> T
[src]
When Ensure::Met
and Ensure::MeetAction::Met
types are the same coalesce()
will return single return type regardless of actual result
Trait Implementations
Auto Trait Implementations
impl<N, M> Send for MetResult<N, M> where
M: Send,
N: Send,
M: Send,
N: Send,
impl<N, M> Sync for MetResult<N, M> where
M: Sync,
N: Sync,
M: Sync,
N: Sync,
Blanket Implementations
impl<T> Existential for T
[src]
fn assume_existing(self) -> Existing<Self>
[src]
fn assume_non_existing(self) -> NonExisting<Self>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,