Skip to main content

PartitionTableWriteExt

Trait PartitionTableWriteExt 

Source
pub trait PartitionTableWriteExt {
    // Required method
    fn write_to<W: Write + Seek>(&self, writer: &mut W) -> Result<()>;
}
Available on crate features alloc and write only.
Expand description

Extension trait for writing PartitionTable to I/O sinks.

Required Methods§

Source

fn write_to<W: Write + Seek>(&self, writer: &mut W) -> Result<()>

Writes the partition scheme to a writer.

§Arguments
  • writer - The writer to write to
§Errors

Returns an error if writing fails.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl PartitionTableWriteExt for PartitionTable

Available on crate feature sync only.