[−][src]Struct disk_initializer::gpt::PartitionManager
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]
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, 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>,