pub fn from_new(segment_controller: S) -> Result<Self> {
        let header = FileHeader::new();
        Ok(NaivePageController {
            header,
            header_is_dirty: true,
            segment_controller,
            current_page: None,
        })
    }
/// Creates a new controller for a new file.
Creates a new controller for a new file.
Creates a new controller for a new file .
pub fn from_new(segment_controller: S) -> Result<Self> {
        let header = FileHeader::new();
        Ok(NaivePageController {
            header,
            header_is_dirty: true,
            segment_controller,
            current_page: None,
        })
    }
pub fn from_new ( segment_controller : S ) -> Result < Self > { let header = FileHeader :: new ( ) ; Ok ( NaivePageController { header , header_is_dirty : true , segment_controller , current_page : None , } ) }
Creates a new controller for a new file.
Creates a new controller for a new file .
segment_controller
S
segment_controller
S