pub enum PoolDirective {
Continue,
Pause {
reason: Arc<str>,
},
}Expand description
Admission consequence derived from one protocol-specific outcome.
This type deliberately contains no HTTP status, header, retry, or decoding
knowledge. The application returns its own error to the triggering caller,
then may apply Pause to stop later acquisitions until it repairs the
profile and explicitly resumes the pool.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PoolDirective
impl Clone for PoolDirective
Source§impl Debug for PoolDirective
impl Debug for PoolDirective
impl Eq for PoolDirective
Source§impl PartialEq for PoolDirective
impl PartialEq for PoolDirective
impl StructuralPartialEq for PoolDirective
Auto Trait Implementations§
impl Freeze for PoolDirective
impl RefUnwindSafe for PoolDirective
impl Send for PoolDirective
impl Sync for PoolDirective
impl Unpin for PoolDirective
impl UnsafeUnpin for PoolDirective
impl UnwindSafe for PoolDirective
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