pub struct RuntimePlane { /* private fields */ }Implementations§
Source§impl RuntimePlane
impl RuntimePlane
pub fn new() -> Self
pub fn register_core_adapter<A: CoreRuntimeAdapter + 'static>( &mut self, adapter: A, )
pub fn register_extension_adapter<A: RuntimeExtensionAdapter + 'static>( &mut self, adapter: A, )
pub fn set_default_core_adapter( &mut self, name: &str, ) -> Result<(), RuntimePlaneError>
pub fn default_core_adapter_name(&self) -> Option<&str>
pub async fn execute_core( &self, core_name: Option<&str>, request: RuntimeCoreRequest, ) -> Result<RuntimeCoreOutcome, RuntimePlaneError>
pub async fn execute_extension( &self, extension_name: &str, core_name: Option<&str>, request: RuntimeExtensionRequest, ) -> Result<RuntimeExtensionOutcome, RuntimePlaneError>
Trait Implementations§
Source§impl Default for RuntimePlane
impl Default for RuntimePlane
Source§fn default() -> RuntimePlane
fn default() -> RuntimePlane
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimePlane
impl !RefUnwindSafe for RuntimePlane
impl Send for RuntimePlane
impl Sync for RuntimePlane
impl Unpin for RuntimePlane
impl UnsafeUnpin for RuntimePlane
impl !UnwindSafe for RuntimePlane
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