Skip to main content

JmapCacheState

Trait JmapCacheState 

Source
pub trait JmapCacheState: Sync + Send {
    // Required method
    fn get_state(&self, is_container: bool) -> State;

    // Provided method
    fn assert_state(
        &self,
        is_container: bool,
        if_in_state: &Option<State>,
    ) -> Result<State> { ... }
}

Required Methods§

Source

fn get_state(&self, is_container: bool) -> State

Provided Methods§

Source

fn assert_state( &self, is_container: bool, if_in_state: &Option<State>, ) -> Result<State>

Implementors§