Struct fs_management::Gpt
source · pub struct Gpt {
pub component_type: ComponentType,
}
Expand description
Gpt Configuration
Fields§
§component_type: ComponentType
Implementations§
source§impl Gpt
impl Gpt
sourcepub fn new(block_device: ControllerProxy) -> Filesystem
pub fn new(block_device: ControllerProxy) -> Filesystem
Manages a block device using the default configuration.
sourcepub fn dynamic_child() -> Self
pub fn dynamic_child() -> Self
Launch Gpt, with the default configuration, as a dynamic child in the fs-collection.
Trait Implementations§
source§impl FSConfig for Gpt
impl FSConfig for Gpt
source§fn is_multi_volume(&self) -> bool
fn is_multi_volume(&self) -> bool
Whether the filesystem supports multiple volumes.
fn disk_format(&self) -> DiskFormat
source§fn crypt_client(&self) -> Option<Channel>
fn crypt_client(&self) -> Option<Channel>
Returns a handle for the crypt service (if any).
Auto Trait Implementations§
impl Freeze for Gpt
impl RefUnwindSafe for Gpt
impl Send for Gpt
impl Sync for Gpt
impl Unpin for Gpt
impl UnwindSafe for Gpt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)