pub struct SafetyDecisionCache { /* private fields */ }Expand description
Thread-safe cache for command safety decisions
Implementations§
Source§impl SafetyDecisionCache
impl SafetyDecisionCache
Sourcepub fn default_cache() -> Self
pub fn default_cache() -> Self
Creates a default cache (1000 entries)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SafetyDecisionCache
impl !UnwindSafe for SafetyDecisionCache
impl Freeze for SafetyDecisionCache
impl Send for SafetyDecisionCache
impl Sync for SafetyDecisionCache
impl Unpin for SafetyDecisionCache
impl UnsafeUnpin for SafetyDecisionCache
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