pub trait GetWithOpts {
// Required method
fn get_stream_with<'a>(
&'a self,
identity: &'a StreamIdentity,
opts: ReadOpts,
) -> impl Future<Output = Result<Option<Entity>, RepositoryError>> + Send + 'a;
}Expand description
Opt-out reads for a queued repository — the counterpart to
GetWithOpts. ReadOpts::no_lock() reads without acquiring the lock.
Required Methods§
fn get_stream_with<'a>( &'a self, identity: &'a StreamIdentity, opts: ReadOpts, ) -> impl Future<Output = Result<Option<Entity>, RepositoryError>> + Send + 'a
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".