pub trait IoEngineConfig:
Send
+ Sync
+ 'static
+ Debug {
// Required method
fn build(
self: Box<Self>,
ctx: IoEngineBuildContext,
) -> BoxFuture<'static, Result<Arc<dyn IoEngine>>>;
// Provided method
fn boxed(self) -> Box<Self>
where Self: Sized { ... }
}Expand description
I/O engine config trait.
Required Methods§
Provided Methods§
Trait Implementations§
Source§impl From<PsyncIoEngineConfig> for Box<dyn IoEngineConfig>
impl From<PsyncIoEngineConfig> for Box<dyn IoEngineConfig>
Source§fn from(builder: PsyncIoEngineConfig) -> Self
fn from(builder: PsyncIoEngineConfig) -> Self
Converts to this type from the input type.