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§
Source§impl CatalyzerRuntime
impl CatalyzerRuntime
Sourcepub fn builder() -> CatalyzerRuntimeBuilder
pub fn builder() -> CatalyzerRuntimeBuilder
Creates a new builder for the runtime.
Sourcepub fn init(func: Option<fn() -> Result<Self>>) -> Self
pub fn init(func: Option<fn() -> Result<Self>>) -> Self
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