pub struct Proactor(/* private fields */);Expand description
Concrete proactor instance
Implementations§
source§impl Proactor
impl Proactor
sourcepub fn with_config(config: NucleiConfig) -> &'static Proactor
pub fn with_config(config: NucleiConfig) -> &'static Proactor
Builds a proactor instance with given config and returns a reference to it.
sourcepub fn wait(
&self,
max_event_size: usize,
duration: Option<Duration>
) -> Result<usize>
pub fn wait( &self, max_event_size: usize, duration: Option<Duration> ) -> Result<usize>
Wait for completion of IO object
sourcepub fn ring_params(&self) -> &Parameters
pub fn ring_params(&self) -> &Parameters
Get IO_URING backend probes
Trait Implementations§
Auto Trait Implementations§
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