pub fn first_entry<'l>(&'l mut self) -> Result<LogEntry<'l>, LogError> {
        if self.len == 0 {
            return Err(LogError::OutOfBounds);
        }

        // Seek past to position 8 (immediately after the starting index)
        self.file.seek(SeekFrom::Start(8))?;

        let index = self.first_index;

        Ok(LogEntry { log: self, index })
    }
/// The first entry in the log
The first entry in the log
The first entry in the log
pub fn first_entry<'l>(&'l mut self) -> Result<LogEntry<'l>, LogError> {
        if self.len == 0 {
            return Err(LogError::OutOfBounds);
        }
        // Seek past to position 8 (immediately after the starting index)
        self.file.seek(SeekFrom::Start(8))?;
        let index = self.first_index;
        Ok(LogEntry { log: self, index })
    }
pub fn first_entry < ' l > ( & ' l mut self ) -> Result < LogEntry < ' l > , LogError > { if self . len == 0 { return Err ( LogError :: OutOfBounds ) ; } // Seek past to position 8 (immediately after the starting index) self . file . seek ( SeekFrom :: Start ( 8 ) ) ? ; let index = self . first_index ; Ok ( LogEntry { log : self , index } ) }
The first entry in the log
The first entry in the log
&'l mut self