[][src]Struct disk_initializer::gpt::PartitionManager

pub struct PartitionManager<'a, E> {
    inner: &'a mut dyn StorageDevice<Error = E>,
}

Manage partition of a IStorage.

Fields

inner: &'a mut dyn StorageDevice<Error = E>

The IStorage used.

Implementations

impl<'a, E: Debug> PartitionManager<'a, E>[src]

pub fn new(inner: &'a mut dyn StorageDevice<Error = E>) -> Self[src]

Create a new partition manager.

pub fn create_protective_mbr(&mut self) -> Result<(), E>[src]

Create a protective MBR

pub fn initialize(&mut self) -> Result<(), E>[src]

Initialize a IStorage partition table.

Auto Trait Implementations

impl<'a, E> !RefUnwindSafe for PartitionManager<'a, E>

impl<'a, E> !Send for PartitionManager<'a, E>

impl<'a, E> !Sync for PartitionManager<'a, E>

impl<'a, E> Unpin for PartitionManager<'a, E>

impl<'a, E> !UnwindSafe for PartitionManager<'a, E>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.