oa::runtime::EngineBuilder

Configuration used to construct one OA execution engine.

StRust public API

Declaration

pub struct EngineBuilder { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn requirements(self, requirements: EngineRequirements) -> Self
pub const fn devices(self, selection: DeviceSelection) -> Self
pub fn logging(self, options: LogOptions) -> Self
pub fn instance_extensions( self, extensions: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn build(self) -> Result<Engine>
fn clone(&self) -> EngineBuilder
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

pub fn new() -> Self
fn default() -> EngineBuilder

Public Method Documentation

pub fn requirements( self, requirements: EngineRequirements ) -> Self
No public source comment is attached to this declaration.
pub const fn devices( self, selection: DeviceSelection ) -> Self
No public source comment is attached to this declaration.
pub fn logging( self, options: LogOptions ) -> Self
No public source comment is attached to this declaration.
pub fn instance_extensions( self, extensions: impl IntoIterator<Item = impl Into<String>> ) -> Self
No public source comment is attached to this declaration.
pub fn build( self ) -> Result<Engine>
No public source comment is attached to this declaration.
fn clone( &self ) -> EngineBuilder
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
pub fn new() -> Self
No public source comment is attached to this declaration.
fn default() -> EngineBuilder
No public source comment is attached to this declaration.