[−][src]Struct sunrise_fs::detail::PartitionManager
Manage partition of a IStorage.
Fields
inner: &'a mut dyn IStorage<Error = Error>
The IStorage used.
Implementations
impl<'a> PartitionManager<'a>
[src]
pub fn new(inner: &'a mut dyn IStorage<Error = Error>) -> Self
[src]
Create a new partition manager.
pub fn is_valid(&mut self) -> bool
[src]
Check if the partition table is valid.
pub fn create_protective_mbr(&mut self) -> LibUserResult<()>
[src]
Create a protective MBR
pub fn initialize(&mut self) -> LibUserResult<()>
[src]
Initialize a IStorage partition table.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PartitionManager<'a>
impl<'a> Send for PartitionManager<'a>
impl<'a> Sync for PartitionManager<'a>
impl<'a> Unpin for PartitionManager<'a>
impl<'a> !UnwindSafe for PartitionManager<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&self) -> usize
[src]
fn is_cool(addr: usize, size: usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(addr: usize, _size: usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(addr: usize, _size: usize) -> &'a mut T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,