pub trait OpAccess:
Clone
+ Send
+ Sync {
type Op;
type Error: Debug + Display + Send;
// Required method
fn op_access(&self, index: usize) -> Option<Result<Self::Op, Self::Error>>;
}
Expand description
Types that provide access to operations.
Implementations are included for &[Op]
, BytecodeMapped
and Arc<T>
.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.