pub enum FeeType {
Overall,
Borrow,
DeltaNeutrality,
Funding,
Crank,
FundingTotal,
}
Expand description
Fee type which can have insufficient margin available
Variants§
Overall
There is insufficient active collateral for the liquidation margin.
Borrow
Insufficient borrow fee portion of the liquidation margin.
DeltaNeutrality
Insufficient delta neutrality fee portion of the liquidation margin.
Funding
Insufficient funding payment portion of the liquidation margin.
Crank
Insufficient crank fee portion of the liquidation margin.
FundingTotal
Protocol-wide insufficient funding payments.
This means that the protocol itself would reach insolvency if we paid the funding payments this payment expects.
Implementations§
Trait Implementations§
source§impl PartialEq for FeeType
impl PartialEq for FeeType
impl Copy for FeeType
impl Eq for FeeType
impl StructuralEq for FeeType
impl StructuralPartialEq for FeeType
Auto Trait Implementations§
impl RefUnwindSafe for FeeType
impl Send for FeeType
impl Sync for FeeType
impl Unpin for FeeType
impl UnwindSafe for FeeType
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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