pub fn remove_at_sector(&mut self, sector: u64) -> Result<()> {
        self.remove(
            self.find_at_sector(sector)
                .ok_or(Error::PartitionNotFound)?,
        )
    }
/// Remove a partiton entry in the array that resides at a given sector.
///
/// # Errors
///
/// It is an error to provide a sector which does not belong to a partition.
Remove a partiton entry in the array that resides at a given sector.
Remove a partiton entry in the array that resides at a given sector .
pub fn remove_at_sector(&mut self, sector: u64) -> Result<()> {
        self.remove(
            self.find_at_sector(sector)
                .ok_or(Error::PartitionNotFound)?,
        )
    }
pub fn remove_at_sector ( & mut self , sector : u64 ) -> Result < ( ) > { self . remove ( self . find_at_sector ( sector ) . ok_or ( Error :: PartitionNotFound ) ? , ) }
Remove a partiton entry in the array that resides at a given sector.
Remove a partiton entry in the array that resides at a given sector .
&mut self
sector
u64
&mut self
sector
u64
errors
It is an error to provide a sector which does not belong to a partition.
It is an error to provide a sector which does not belong to a partition .