#[non_exhaustive]pub enum RequestPool {
Default,
LongHeld,
}Expand description
The handler-slot pool a data request waits in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
The pool every data request uses unless the module’s classifier puts it elsewhere. It has 64 slots.
LongHeld
The pool a module reserves for requests that can be held for a long
time, with the limit the module sets in RequestPools::with_long_held.
Implementations§
Trait Implementations§
Source§impl Clone for RequestPool
impl Clone for RequestPool
impl Copy for RequestPool
Source§impl Debug for RequestPool
impl Debug for RequestPool
Source§impl Display for RequestPool
impl Display for RequestPool
impl Eq for RequestPool
Source§impl Hash for RequestPool
impl Hash for RequestPool
Source§impl PartialEq for RequestPool
impl PartialEq for RequestPool
impl StructuralPartialEq for RequestPool
Auto Trait Implementations§
impl Forget for RequestPool
impl Freeze for RequestPool
impl Move for RequestPool
impl RefUnwindSafe for RequestPool
impl Send for RequestPool
impl Sync for RequestPool
impl Unpin for RequestPool
impl UnsafeUnpin for RequestPool
impl UnwindSafe for RequestPool
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