Struct catalyzer::internals::CatalyzerRuntime
pub struct CatalyzerRuntime { /* private fields */ }
Expand description
A runtime for the Catalyzer framework.
You most likely won’t need to use this directly,
as everything is handled by the #[main]
macro.
Implementations§
§impl CatalyzerRuntime
impl CatalyzerRuntime
pub fn builder() -> CatalyzerRuntimeBuilder
pub fn builder() -> CatalyzerRuntimeBuilder
Creates a new builder for the runtime.
pub fn init(
func: Option<fn() -> Result<CatalyzerRuntime, CatalyzerError>>
) -> CatalyzerRuntime
pub fn init( func: Option<fn() -> Result<CatalyzerRuntime, CatalyzerError>> ) -> CatalyzerRuntime
Initializes the runtime with an optional custom initialization function.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CatalyzerRuntime
impl RefUnwindSafe for CatalyzerRuntime
impl Send for CatalyzerRuntime
impl Sync for CatalyzerRuntime
impl Unpin for CatalyzerRuntime
impl UnwindSafe for CatalyzerRuntime
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