Trait PoolExt

Source
pub trait PoolExt: Pool {
    // Provided method
    fn apply_delta_amount(
        &mut self,
        is_long: bool,
        delta: &Self::Signed,
    ) -> Result<()> { ... }
}
Expand description

Extension trait for Pool with utils.

Provided Methods§

Source

fn apply_delta_amount( &mut self, is_long: bool, delta: &Self::Signed, ) -> Result<()>

Apply delta.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<P: Pool> PoolExt for P