pub fn checkpoint_heights(&self) -> Result<Vec<Height>, LayoutError> {
        let names = self
            .cp_manager
            .list_checkpoints()
            .map_err(|err| LayoutError::IoError {
                path: "NO_PATH".into(),
                message: format!("Failed to get all checkpoints (err kind: {:?})", err.kind()),
                io_err: err,
            })?;

        parse_checkpoint_heights(&names[..])
    }
/// Returns a sorted list of `Height`s for which a checkpoint is available.
Returns a sorted list of `Height`s for which a checkpoint is available.
Returns a sorted list of ` Height ` s for which a checkpoint is available .
pub fn checkpoint_heights(&self) -> Result<Vec<Height>, LayoutError> {
        let names = self
            .cp_manager
            .list_checkpoints()
            .map_err(|err| LayoutError::IoError {
                path: "NO_PATH".into(),
                message: format!("Failed to get all checkpoints (err kind: {:?})", err.kind()),
                io_err: err,
            })?;
        parse_checkpoint_heights(&names[..])
    }
pub fn checkpoint_heights ( & self ) -> Result < Vec < Height > , LayoutError > { let names = self . cp_manager . list_checkpoints ( ) . map_err ( | err | LayoutError :: IoError { path : " " . into ( ) , message : format ! ( " " err kind ( ) ) , io_err : err , } ) ? ; parse_checkpoint_heights ( & names [ .. ] ) }
Returns a sorted list of `Height`s for which a checkpoint is available.
Returns a sorted list of ` Height ` s for which a checkpoint is available .
&self
&self