#[repr(C)]pub struct WSLPluginHooksV1 {
pub OnVMStarted: WSLPluginAPI_OnVMStarted,
pub OnVMStopping: WSLPluginAPI_OnVMStopping,
pub OnDistributionStarted: WSLPluginAPI_OnDistributionStarted,
pub OnDistributionStopping: WSLPluginAPI_OnDistributionStopping,
pub OnDistributionRegistered: WSLPluginAPI_OnDistributionRegistered,
pub OnDistributionUnregistered: WSLPluginAPI_OnDistributionRegistered,
}
Fields§
§OnVMStarted: WSLPluginAPI_OnVMStarted
§OnVMStopping: WSLPluginAPI_OnVMStopping
§OnDistributionStarted: WSLPluginAPI_OnDistributionStarted
§OnDistributionStopping: WSLPluginAPI_OnDistributionStopping
§OnDistributionRegistered: WSLPluginAPI_OnDistributionRegistered
Introduced in 2.1.2
OnDistributionUnregistered: WSLPluginAPI_OnDistributionRegistered
Introduced in 2.1.2
Trait Implementations§
Source§impl Clone for WSLPluginHooksV1
impl Clone for WSLPluginHooksV1
Source§fn clone(&self) -> WSLPluginHooksV1
fn clone(&self) -> WSLPluginHooksV1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WSLPluginHooksV1
impl Debug for WSLPluginHooksV1
Source§impl FieldNamesAsSlice for WSLPluginHooksV1
impl FieldNamesAsSlice for WSLPluginHooksV1
Source§const FIELD_NAMES_AS_SLICE: &'static [&'static str]
const FIELD_NAMES_AS_SLICE: &'static [&'static str]
Generated slice of field names for WSLPluginHooksV1
.
impl Copy for WSLPluginHooksV1
Auto Trait Implementations§
impl Freeze for WSLPluginHooksV1
impl RefUnwindSafe for WSLPluginHooksV1
impl Send for WSLPluginHooksV1
impl Sync for WSLPluginHooksV1
impl Unpin for WSLPluginHooksV1
impl UnwindSafe for WSLPluginHooksV1
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