pub enum MechanismCoherence {
SelfContained,
TrustedComposite,
}Expand description
Whether one registered allocator is self-contained or an explicitly trusted composition of multiple inner mechanism interfaces.
Variants§
SelfContained
One allocator implementation supplies its own ordinary and optional capability interfaces.
TrustedComposite
The registrar explicitly attested that a transparent/composite wrapper routes allocation, capabilities, and canonical release coherently.
Trait Implementations§
Source§impl Clone for MechanismCoherence
impl Clone for MechanismCoherence
Source§fn clone(&self) -> MechanismCoherence
fn clone(&self) -> MechanismCoherence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MechanismCoherence
Source§impl Debug for MechanismCoherence
impl Debug for MechanismCoherence
impl Eq for MechanismCoherence
Source§impl Hash for MechanismCoherence
impl Hash for MechanismCoherence
Source§impl PartialEq for MechanismCoherence
impl PartialEq for MechanismCoherence
impl StructuralPartialEq for MechanismCoherence
Auto Trait Implementations§
impl Freeze for MechanismCoherence
impl RefUnwindSafe for MechanismCoherence
impl Send for MechanismCoherence
impl Sync for MechanismCoherence
impl Unpin for MechanismCoherence
impl UnsafeUnpin for MechanismCoherence
impl UnwindSafe for MechanismCoherence
Blanket Implementations§
impl<T> BindingResource for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more