Trait sea_streamer_file::BeaconReader

source ·
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§

source

type Future<'a>: Future<Output = Result<Beacon, FileErr>> where Self: 'a

Required Methods§

source

fn survey(&mut self, at: NonZeroU32) -> Self::Future<'_>

source

fn max_beacons(&self) -> u32

Returns the max N-th Beacon

Object Safety§

This trait is not object safe.

Implementors§