pub trait AsyncPwmRange: AsyncPwm {
type Range<'a>: IntoIterator<Item = (&'a Self::Key, &'a EntryValue<Self::Value>)>
where Self: 'a;
// Required method
fn range<R>(&self, range: R) -> impl Future<Output = Self::Range<'_>>
where R: RangeBounds<Self::Key>;
}
Expand description
An trait that can be used to get a range over the pending writes.
Required Associated Types§
Sourcetype Range<'a>: IntoIterator<Item = (&'a Self::Key, &'a EntryValue<Self::Value>)>
where
Self: 'a
type Range<'a>: IntoIterator<Item = (&'a Self::Key, &'a EntryValue<Self::Value>)> where Self: 'a
The iterator type.
Required Methods§
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.