pub struct PreStopHooks { /* private fields */ }Expand description
An authored pre_stop hook sequence, including an explicit empty sequence.
Implementations§
Source§impl PreStopHooks
impl PreStopHooks
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete hook sequence span.
Sourcepub fn entries(&self) -> &[PreStopHook]
pub fn entries(&self) -> &[PreStopHook]
Returns all hook and malformed entries in physical authored order.
Trait Implementations§
Source§impl Clone for PreStopHooks
impl Clone for PreStopHooks
Source§fn clone(&self) -> PreStopHooks
fn clone(&self) -> PreStopHooks
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 PreStopHooks
impl Debug for PreStopHooks
impl Eq for PreStopHooks
Source§impl PartialEq for PreStopHooks
impl PartialEq for PreStopHooks
impl StructuralPartialEq for PreStopHooks
Auto Trait Implementations§
impl Freeze for PreStopHooks
impl RefUnwindSafe for PreStopHooks
impl Send for PreStopHooks
impl Sync for PreStopHooks
impl Unpin for PreStopHooks
impl UnsafeUnpin for PreStopHooks
impl UnwindSafe for PreStopHooks
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