pub enum Pool {
Handshake,
Application,
Control,
}Expand description
Connection class. Classify authenticated peers before admitting application work.
Variants§
Handshake
Connections whose handshake has not finished.
Application
Ordinary application sessions.
Control
Lifecycle control sessions; never dispatch application work on this budget.
Trait Implementations§
impl Copy for Pool
impl Eq for Pool
impl StructuralPartialEq for Pool
Auto Trait Implementations§
impl Freeze for Pool
impl RefUnwindSafe for Pool
impl Send for Pool
impl Sync for Pool
impl Unpin for Pool
impl UnsafeUnpin for Pool
impl UnwindSafe for Pool
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