/// Adds an extent to extent cluster.
Adds an extent to extent cluster.
Adds an extent to extent cluster .
pub fn add_extent(&mut self, extent: &Extent) -> Result<(), Error> {
        if !extent.storage_range().is_valid() {
            return Err(Error::InvalidRange);
        }
        self.insert_extent(extent.clone())
    }
pub fn add_extent ( & mut self , extent : & Extent ) -> Result < ( ) , Error > { if ! extent . storage_range ( ) . is_valid ( ) { return Err ( Error :: InvalidRange ) ; } self . insert_extent ( extent . clone ( ) ) }
Adds an extent to extent cluster.
Adds an extent to extent cluster .
&mut self
extent
&Extent