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§
Sourcefn aux(&self) -> MappedRwLockWriteGuard<'_, A>
fn aux(&self) -> MappedRwLockWriteGuard<'_, A>
Mutable access the auxilliary data
Sourcefn write_state(&self) -> MappedRwLockWriteGuard<'_, S>
fn write_state(&self) -> MappedRwLockWriteGuard<'_, S>
Mutable access to the state
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".