pub struct ScopePolicyRegistry { /* private fields */ }Expand description
Scope policy registry that can be instantiated for isolated testing.
For most use cases, use the global functions (register_scope_policy, etc.)
which operate on a shared global registry.
Implementations§
Trait Implementations§
Source§impl Debug for ScopePolicyRegistry
impl Debug for ScopePolicyRegistry
Source§impl Default for ScopePolicyRegistry
impl Default for ScopePolicyRegistry
Source§fn default() -> ScopePolicyRegistry
fn default() -> ScopePolicyRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScopePolicyRegistry
impl RefUnwindSafe for ScopePolicyRegistry
impl Send for ScopePolicyRegistry
impl Sync for ScopePolicyRegistry
impl Unpin for ScopePolicyRegistry
impl UnwindSafe for ScopePolicyRegistry
Blanket Implementations§
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