pub struct NoopPolicy;Expand description
The default policy: admit all spawns and sends.
Trait Implementations§
Source§impl Clone for NoopPolicy
impl Clone for NoopPolicy
Source§fn clone(&self) -> NoopPolicy
fn clone(&self) -> NoopPolicy
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 NoopPolicy
Source§impl Debug for NoopPolicy
impl Debug for NoopPolicy
Source§impl Default for NoopPolicy
impl Default for NoopPolicy
Source§fn default() -> NoopPolicy
fn default() -> NoopPolicy
Returns the “default value” for a type. Read more
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