pub enum BlockingLane {
StorageIo,
MetadataIo,
CpuCrypto,
ConsumeListener,
}Expand description
Capacity-isolated blocking work owned by a service root.
Variants§
StorageIo
Represents the storage io case.
MetadataIo
Represents the metadata io case.
CpuCrypto
Represents the cpu crypto case.
ConsumeListener
User consume listeners, which may block for a whole consume timeout.
Unlike the other lanes this one does not draw from the global blocking budget: it has a capacity of its own, and the Tokio blocking pool is sized to hold it as well, so a slow listener cannot take slots that storage or metadata I/O count on, and they cannot starve listeners.
Trait Implementations§
Source§impl Clone for BlockingLane
impl Clone for BlockingLane
impl Copy for BlockingLane
Source§impl Debug for BlockingLane
impl Debug for BlockingLane
impl Eq for BlockingLane
Source§impl Hash for BlockingLane
impl Hash for BlockingLane
Source§impl PartialEq for BlockingLane
impl PartialEq for BlockingLane
Source§impl Serialize for BlockingLane
impl Serialize for BlockingLane
impl StructuralPartialEq for BlockingLane
Auto Trait Implementations§
impl Forget for BlockingLane
impl Freeze for BlockingLane
impl Move for BlockingLane
impl RefUnwindSafe for BlockingLane
impl Send for BlockingLane
impl Sync for BlockingLane
impl Unpin for BlockingLane
impl UnsafeUnpin for BlockingLane
impl UnwindSafe for BlockingLane
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