pub struct PluginNative<P> { /* private fields */ }Implementations§
Source§impl<P: Plugin<Context = Supervisor> + Declared> PluginNative<P>
impl<P: Plugin<Context = Supervisor> + Declared> PluginNative<P>
pub fn new(capacity: NonZeroUsize) -> Result<Self>
Trait Implementations§
Source§impl<P: Plugin<Context = Supervisor> + Declared> Attach for PluginNative<P>
impl<P: Plugin<Context = Supervisor> + Declared> Attach for PluginNative<P>
type Error = Error
fn owner(&self) -> &str
fn publications(&self) -> Vec<StreamDeclaration>
fn operations(&self) -> Result<Vec<OperationDefinition>>
fn operation_contracts(&self) -> Result<Option<Vec<Contract>>>
fn required_contracts(&self) -> Result<Option<Vec<Required>>>
fn sdk_lifecycle(&self) -> Result<Option<[Descriptor; 2]>>
fn observers(&self) -> Vec<Declaration>
fn observe_contract(&self) -> Result<Option<Contract>>
fn listener_declarations(&self) -> Result<Option<Vec<Definition>>>
async fn attach(&self) -> Result<Attached>
Auto Trait Implementations§
impl<P> Freeze for PluginNative<P>
impl<P> RefUnwindSafe for PluginNative<P>
impl<P> Send for PluginNative<P>
impl<P> Sync for PluginNative<P>
impl<P> Unpin for PluginNative<P>
impl<P> UnsafeUnpin for PluginNative<P>
impl<P> UnwindSafe for PluginNative<P>
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