Enum monoio::FusionRuntime
source · pub enum FusionRuntime<L, R> {
Uring(Runtime<L>),
Legacy(Runtime<R>),
}
Expand description
Fusion Runtime is a wrapper of io_uring driver or legacy driver based runtime.
Variants§
Implementations§
Trait Implementations§
source§impl From<Runtime<IoUringDriver>> for FusionRuntime<IoUringDriver, LegacyDriver>
impl From<Runtime<IoUringDriver>> for FusionRuntime<IoUringDriver, LegacyDriver>
source§fn from(r: Runtime<IoUringDriver>) -> Self
fn from(r: Runtime<IoUringDriver>) -> Self
Converts to this type from the input type.
source§impl From<Runtime<LegacyDriver>> for FusionRuntime<IoUringDriver, LegacyDriver>
impl From<Runtime<LegacyDriver>> for FusionRuntime<IoUringDriver, LegacyDriver>
source§fn from(r: Runtime<LegacyDriver>) -> Self
fn from(r: Runtime<LegacyDriver>) -> Self
Converts to this type from the input type.
source§impl From<Runtime<TimeDriver<IoUringDriver>>> for FusionRuntime<TimeDriver<IoUringDriver>, TimeDriver<LegacyDriver>>
impl From<Runtime<TimeDriver<IoUringDriver>>> for FusionRuntime<TimeDriver<IoUringDriver>, TimeDriver<LegacyDriver>>
source§fn from(r: Runtime<TimeDriver<IoUringDriver>>) -> Self
fn from(r: Runtime<TimeDriver<IoUringDriver>>) -> Self
Converts to this type from the input type.
source§impl From<Runtime<TimeDriver<LegacyDriver>>> for FusionRuntime<TimeDriver<IoUringDriver>, TimeDriver<LegacyDriver>>
impl From<Runtime<TimeDriver<LegacyDriver>>> for FusionRuntime<TimeDriver<IoUringDriver>, TimeDriver<LegacyDriver>>
source§fn from(r: Runtime<TimeDriver<LegacyDriver>>) -> Self
fn from(r: Runtime<TimeDriver<LegacyDriver>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<L, R> !Freeze for FusionRuntime<L, R>
impl<L, R> !RefUnwindSafe for FusionRuntime<L, R>
impl<L, R> !Send for FusionRuntime<L, R>
impl<L, R> !Sync for FusionRuntime<L, R>
impl<L, R> Unpin for FusionRuntime<L, R>
impl<L, R> !UnwindSafe for FusionRuntime<L, R>
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