pub enum PoolEventKind {
Initialize,
Swap,
Mint,
Burn,
Collect,
Flash,
}Expand description
The kind of pool event being processed when an error was produced.
Variants§
Trait Implementations§
Source§impl Clone for PoolEventKind
impl Clone for PoolEventKind
Source§fn clone(&self) -> PoolEventKind
fn clone(&self) -> PoolEventKind
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 moreimpl Copy for PoolEventKind
Source§impl Debug for PoolEventKind
impl Debug for PoolEventKind
Source§impl Display for PoolEventKind
impl Display for PoolEventKind
impl Eq for PoolEventKind
Source§impl PartialEq for PoolEventKind
impl PartialEq for PoolEventKind
Source§fn eq(&self, other: &PoolEventKind) -> bool
fn eq(&self, other: &PoolEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PoolEventKind
Auto Trait Implementations§
impl Freeze for PoolEventKind
impl RefUnwindSafe for PoolEventKind
impl Send for PoolEventKind
impl Sync for PoolEventKind
impl Unpin for PoolEventKind
impl UnsafeUnpin for PoolEventKind
impl UnwindSafe for PoolEventKind
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more