pub struct NoopPolicy;Expand description
The default policy: admit all spawns and sends.
Trait Implementations§
Source§impl Clone for NoopPolicy
impl Clone for NoopPolicy
impl Copy for NoopPolicy
Source§impl Debug for NoopPolicy
impl Debug for NoopPolicy
Source§impl Default for NoopPolicy
impl Default for NoopPolicy
Source§impl ResourcePolicy for NoopPolicy
impl ResourcePolicy for NoopPolicy
Source§fn release_actor(&self)
fn release_actor(&self)
Notify the policy that an actor was killed/released. Read more
Auto Trait Implementations§
impl Freeze for NoopPolicy
impl RefUnwindSafe for NoopPolicy
impl Send for NoopPolicy
impl Sync for NoopPolicy
impl Unpin for NoopPolicy
impl UnsafeUnpin for NoopPolicy
impl UnwindSafe for NoopPolicy
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