pub fn load(&mut self, r: &mut RafsIoReader) -> Result<()> {
        // Try to load the filesystem as Rafs v5
        if self.try_load_v5(r)? {
            return Ok(());
        }

        if self.try_load_v6(r)? {
            return Ok(());
        }

        Err(einval!("invalid superblock version number"))
    }
/// Load RAFS metadata and optionally cache inodes.
Load RAFS metadata and optionally cache inodes.
Load RAFS metadata and optionally cache inodes .
pub fn load(&mut self, r: &mut RafsIoReader) -> Result<()> {
        // Try to load the filesystem as Rafs v5
        if self.try_load_v5(r)? {
            return Ok(());
        }
        if self.try_load_v6(r)? {
            return Ok(());
        }
        Err(einval!("invalid superblock version number"))
    }
pub fn load ( & mut self , r : & mut RafsIoReader ) -> Result < ( ) > { // Try to load the filesystem as Rafs v5 if self . try_load_v5 ( r ) ? { return Ok ( ( ) ) ; } if self . try_load_v6 ( r ) ? { return Ok ( ( ) ) ; } Err ( einval ! ( " " ) ) }
Load RAFS metadata and optionally cache inodes.
Load RAFS metadata and optionally cache inodes .
&mut self
r
&mut RafsIoReader
&mut self
r
&mut RafsIoReader