[][src]Trait ensure::Meet

pub trait Meet {
    type Met;
    type Error;
    fn meet(self) -> Result<Self::Met, Self::Error>;
}

Function that can be used to bring object in its target state

Associated Types

type Met

type Error

Loading content...

Required methods

fn meet(self) -> Result<Self::Met, Self::Error>

Loading content...

Implementors

impl<T, E, F> Meet for F where
    F: FnOnce() -> Result<T, E>, 
[src]

type Met = T

type Error = E

Loading content...