pub trait BeaconReader {
type Future<'a>: Future<Output = Result<Beacon, FileErr>>
where Self: 'a;
// Required methods
fn survey(&mut self, at: NonZeroU32) -> Self::Future<'_>;
fn max_beacons(&self) -> u32;
}Required Associated Types§
Required Methods§
fn survey(&mut self, at: NonZeroU32) -> Self::Future<'_>
Sourcefn max_beacons(&self) -> u32
fn max_beacons(&self) -> u32
Returns the max N-th Beacon
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.