pub trait AccessKind {
// Provided methods
fn writer(_type_id: TypeId) -> bool { ... }
fn reader(_type_id: TypeId) -> bool { ... }
fn exclusive_reader(_type_id: TypeId) -> bool { ... }
}Expand description
Internal helper to query how a StoreRequest type will use a specific type.
Provided Methods§
Sourcefn reader(_type_id: TypeId) -> bool
fn reader(_type_id: TypeId) -> bool
Returns whether this is a reader (both exclusive and non-exclusive).
Sourcefn exclusive_reader(_type_id: TypeId) -> bool
fn exclusive_reader(_type_id: TypeId) -> bool
Returns whether this is an exclusive reader.
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.