pub trait Keylike<const MCL: usize, const MCC: usize, const MPL: usize, S> {
// Required methods
fn wdm_subspace_id(&self) -> &S;
fn wdm_path(&self) -> &Path<MCL, MCC, MPL>;
}Expand description
A keylike value is one that can be used to “address” an Entry within a namespace.
Within a namespace, entries can be uniquely identified by their subspace_id (of type S) and their path.
Required Methods§
Sourcefn wdm_subspace_id(&self) -> &S
fn wdm_subspace_id(&self) -> &S
Returns the subspace_id of self.