pub fn backup_heights(&self) -> Result<Vec<Height>, LayoutError> {
        let names = self
            .cp_manager
            .list_backups()
            .map_err(|io_err| LayoutError::IoError {
                path: "NO_PATH".into(),
                message: "failed to enumerate backups".to_string(),
                io_err,
            })?;
        parse_checkpoint_heights(&names[..])
    }
/// Returns a sorted list of heights of checkpoints that were "backed up"
/// for future inspection because they corresponded to diverged states.
Returns a sorted list of heights of checkpoints that were "backed up"
for future inspection because they corresponded to diverged states.
Returns a sorted list of heights of checkpoints that were " backed up " for future inspection because they corresponded to diverged states .
pub fn backup_heights(&self) -> Result<Vec<Height>, LayoutError> {
        let names = self
            .cp_manager
            .list_backups()
            .map_err(|io_err| LayoutError::IoError {
                path: "NO_PATH".into(),
                message: "failed to enumerate backups".to_string(),
                io_err,
            })?;
        parse_checkpoint_heights(&names[..])
    }
pub fn backup_heights ( & self ) -> Result < Vec < Height > , LayoutError > { let names = self . cp_manager . list_backups ( ) . map_err ( | io_err | LayoutError :: IoError { path : " " . into ( ) , message : " " . to_string ( ) , io_err , } ) ? ; parse_checkpoint_heights ( & names [ .. ] ) }
Returns a sorted list of heights of checkpoints that were "backed up"
for future inspection because they corresponded to diverged states.
Returns a sorted list of heights of checkpoints that were " backed up " for future inspection because they corresponded to diverged states .
&self
&self