fn read(&self, epoch: Epoch) -> Option<(Epoch, Event)> {
        if self.resize.epoch > epoch {
            Some((self.resize.epoch, self.resize.event.into()))
        } else if self.key.epoch > epoch {
            Some((self.key.epoch, self.key.event.into()))
        } else {
            None
        }
    }
/// Reads the correct lastest event, given the epoch where the caller is.
/// Uses the adequate event, i.e. resize event has precedence.
Reads the correct lastest event, given the epoch where the caller is.
Uses the adequate event, i.e. resize event has precedence.
Reads the correct lastest event given the epoch where the caller is . Uses the adequate event i . e . resize event has precedence .
fn read(&self, epoch: Epoch) -> Option<(Epoch, Event)> {
        if self.resize.epoch > epoch {
            Some((self.resize.epoch, self.resize.event.into()))
        } else if self.key.epoch > epoch {
            Some((self.key.epoch, self.key.event.into()))
        } else {
            None
        }
    }
fn read ( & self , epoch : Epoch ) -> Option < ( Epoch , Event ) > { if self . resize . epoch > epoch { Some ( ( self . resize . epoch , self . resize . event . into ( ) ) ) } else if self . key . epoch > epoch { Some ( ( self . key . epoch , self . key . event . into ( ) ) ) } else { None } }
Reads the correct lastest event, given the epoch where the caller is.
Reads the correct lastest event given the epoch where the caller is .
&self
epoch
Epoch
&self
epoch
Epoch