Skip to main content

Recycle

Trait Recycle 

Source
pub trait Recycle: Sized {
    type Deferred;

    // Required method
    fn recycle(self) -> Option<Self::Deferred>;
}
Expand description

Consumes receive ownership through its native return mechanism.

Self-contained pool leases return immediately. Registered ring slots retain their exact token until the owning engine publishes the deferred return.

Required Associated Types§

Required Methods§

Source

fn recycle(self) -> Option<Self::Deferred>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§