Trait AsyncPwmComparableRange

Source
pub trait AsyncPwmComparableRange: AsyncPwmRange + AsyncPwmComparable {
    // Required method
    fn range_comparable<T, R>(
        &self,
        range: R,
    ) -> impl Future<Output = Self::Range<'_>>
       where T: Ord + ?Sized,
             Self::Key: Borrow<T> + Ord,
             R: RangeBounds<T>;
}
Expand description

An trait that can be used to get a range over the pending writes.

Required Methods§

Source

fn range_comparable<T, R>( &self, range: R, ) -> impl Future<Output = Self::Range<'_>>
where T: Ord + ?Sized, Self::Key: Borrow<T> + Ord, R: RangeBounds<T>,

Returns an iterator over the pending writes.

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§