pub enum HookOrderingPhase {
Early,
Normal,
Late,
}Expand description
Enumerates the finite hook ordering phase cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Early
Use this variant when the contract needs to represent early; selecting it has no side effect by itself.
Normal
Use this variant when the contract needs to represent normal; selecting it has no side effect by itself.
Late
Use this variant when the contract needs to represent late; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for HookOrderingPhase
impl Clone for HookOrderingPhase
Source§fn clone(&self) -> HookOrderingPhase
fn clone(&self) -> HookOrderingPhase
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 HookOrderingPhase
impl Debug for HookOrderingPhase
Source§impl<'de> Deserialize<'de> for HookOrderingPhase
impl<'de> Deserialize<'de> for HookOrderingPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for HookOrderingPhase
impl Hash for HookOrderingPhase
Source§impl Ord for HookOrderingPhase
impl Ord for HookOrderingPhase
Source§fn cmp(&self, other: &HookOrderingPhase) -> Ordering
fn cmp(&self, other: &HookOrderingPhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HookOrderingPhase
impl PartialEq for HookOrderingPhase
Source§fn eq(&self, other: &HookOrderingPhase) -> bool
fn eq(&self, other: &HookOrderingPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HookOrderingPhase
impl PartialOrd for HookOrderingPhase
Source§impl Serialize for HookOrderingPhase
impl Serialize for HookOrderingPhase
impl Eq for HookOrderingPhase
impl StructuralPartialEq for HookOrderingPhase
Auto Trait Implementations§
impl Freeze for HookOrderingPhase
impl RefUnwindSafe for HookOrderingPhase
impl Send for HookOrderingPhase
impl Sync for HookOrderingPhase
impl Unpin for HookOrderingPhase
impl UnsafeUnpin for HookOrderingPhase
impl UnwindSafe for HookOrderingPhase
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