fuchsia_bluetooth::expectation::asynchronous

Trait ExpectableExt

Source
pub trait ExpectableExt<S, A> {
    // Required methods
    fn aux(&self) -> MappedRwLockWriteGuard<'_, A>;
    fn write_state(&self) -> MappedRwLockWriteGuard<'_, S>;
}
Expand description

A trait to provide convenience methods on Expectable types held within wrapping harnesses

Required Methods§

Source

fn aux(&self) -> MappedRwLockWriteGuard<'_, A>

Mutable access the auxilliary data

Source

fn write_state(&self) -> MappedRwLockWriteGuard<'_, S>

Mutable access to the state

Implementors§

Source§

impl<S, A> ExpectableExt<S, A> for Expectable<S, A>