Trait TableEntry

Source
pub trait TableEntry
where Self: Copy + Sized + Debug,
{ // Required methods fn try_from_plain(value: u64, qcow2_info: &Qcow2Info) -> Qcow2Result<Self>; fn into_plain(self) -> u64; // Provided method fn get_value(&self) -> u64 { ... } }

Required Methods§

Source

fn try_from_plain(value: u64, qcow2_info: &Qcow2Info) -> Qcow2Result<Self>

Source

fn into_plain(self) -> u64

Provided Methods§

Source

fn get_value(&self) -> u64

Only for top table to return offset stored

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§