#[repr(C)]pub struct NativeServingPluginV1 {Show 15 fields
pub abi_version: u32,
pub struct_size: usize,
pub plugin_name: ByteSlice,
pub activate: ActivatePlugin,
pub shutdown: ShutdownPlugin,
pub begin_generation: BeginGeneration,
pub commit_generation: CommitGeneration,
pub abort_generation: AbortGeneration,
pub finish_generation: FinishGeneration,
pub start_proposal: StartProposal,
pub poll_proposal: PollProposal,
pub cancel_proposal: CancelProposal,
pub report_proposal: ReportProposal,
pub discard_proposal: DiscardProposal,
pub last_error: LastError,
}Fields§
§abi_version: u32§struct_size: usize§plugin_name: ByteSlice§activate: ActivatePlugin§shutdown: ShutdownPlugin§begin_generation: BeginGeneration§commit_generation: CommitGeneration§abort_generation: AbortGeneration§finish_generation: FinishGeneration§start_proposal: StartProposal§poll_proposal: PollProposal§cancel_proposal: CancelProposal§report_proposal: ReportProposal§discard_proposal: DiscardProposal§last_error: LastErrorTrait Implementations§
impl Sync for NativeServingPluginV1
Auto Trait Implementations§
impl !Send for NativeServingPluginV1
impl Freeze for NativeServingPluginV1
impl RefUnwindSafe for NativeServingPluginV1
impl Unpin for NativeServingPluginV1
impl UnsafeUnpin for NativeServingPluginV1
impl UnwindSafe for NativeServingPluginV1
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