pub struct Bridge {}Implementations§
Source§impl Bridge
impl Bridge
Sourcepub fn get() -> Result<&'static Bridge, BridgeError>
pub fn get() -> Result<&'static Bridge, BridgeError>
Get or initialize the bridge singleton
Source§impl Bridge
impl Bridge
pub fn invoke_plugin( &self, target: &str, config_json: &str, stdin_json: Option<&str>, plugin_metadata: Option<&PluginSpec>, ) -> Result<PluginInvocationResult, BridgeError>
Auto Trait Implementations§
impl Freeze for Bridge
impl RefUnwindSafe for Bridge
impl Send for Bridge
impl Sync for Bridge
impl Unpin for Bridge
impl UnwindSafe for Bridge
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