#[non_exhaustive]pub enum ProjectPreStopHook {
Hook(Box<ProjectServiceHook>),
Unmodeled,
}Expand description
One effective pre_stop sequence item.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Hook(Box<ProjectServiceHook>)
A valid or partially recovered hook mapping.
Unmodeled
A malformed non-mapping item retained with per-item provenance.
Trait Implementations§
Source§impl Clone for ProjectPreStopHook
impl Clone for ProjectPreStopHook
Source§fn clone(&self) -> ProjectPreStopHook
fn clone(&self) -> ProjectPreStopHook
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProjectPreStopHook
impl Debug for ProjectPreStopHook
impl Eq for ProjectPreStopHook
Source§impl PartialEq for ProjectPreStopHook
impl PartialEq for ProjectPreStopHook
impl StructuralPartialEq for ProjectPreStopHook
Auto Trait Implementations§
impl Freeze for ProjectPreStopHook
impl RefUnwindSafe for ProjectPreStopHook
impl Send for ProjectPreStopHook
impl Sync for ProjectPreStopHook
impl Unpin for ProjectPreStopHook
impl UnsafeUnpin for ProjectPreStopHook
impl UnwindSafe for ProjectPreStopHook
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