pub trait BorrowingFeeMarketMutExt<const DECIMALS: u8>: BorrowingFeeMarketMut<DECIMALS> {
// Provided method
fn update_borrowing(
&mut self,
prices: &Prices<Self::Num>,
) -> Result<UpdateBorrowingState<&mut Self, DECIMALS>>
where Self: Sized { ... }
}Expand description
Extension trait for BorrowingFeeMarketMut.
Provided Methods§
Sourcefn update_borrowing(
&mut self,
prices: &Prices<Self::Num>,
) -> Result<UpdateBorrowingState<&mut Self, DECIMALS>>where
Self: Sized,
fn update_borrowing(
&mut self,
prices: &Prices<Self::Num>,
) -> Result<UpdateBorrowingState<&mut Self, DECIMALS>>where
Self: Sized,
Create a UpdateBorrowingState action.