pub struct ConnectorPlane { /* private fields */ }Implementations§
Source§impl ConnectorPlane
impl ConnectorPlane
pub fn new() -> Self
pub fn register_core_adapter<A: CoreConnectorAdapter + 'static>( &mut self, adapter: A, )
pub fn register_extension_adapter<A: ConnectorExtensionAdapter + 'static>( &mut self, adapter: A, )
pub fn set_default_core_adapter( &mut self, name: &str, ) -> Result<(), ConnectorError>
pub fn default_core_adapter_name(&self) -> Option<&str>
pub async fn invoke_core( &self, core_name: Option<&str>, command: ConnectorCommand, ) -> Result<ConnectorOutcome, ConnectorError>
pub async fn invoke_extension( &self, extension_name: &str, core_name: Option<&str>, command: ConnectorCommand, ) -> Result<ConnectorOutcome, ConnectorError>
Trait Implementations§
Source§impl Default for ConnectorPlane
impl Default for ConnectorPlane
Source§fn default() -> ConnectorPlane
fn default() -> ConnectorPlane
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectorPlane
impl !RefUnwindSafe for ConnectorPlane
impl Send for ConnectorPlane
impl Sync for ConnectorPlane
impl Unpin for ConnectorPlane
impl UnsafeUnpin for ConnectorPlane
impl !UnwindSafe for ConnectorPlane
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