pub trait TableEntrywhere
Self: Sized,{
// Required methods
fn try_from_plain(value: u64, header: &Header) -> Result<Self>;
fn to_plain(&self) -> u64;
}
Expand description
Generic trait for qcow2 table entries (L1, L2, refcount table).
Required Methods§
Sourcefn try_from_plain(value: u64, header: &Header) -> Result<Self>
fn try_from_plain(value: u64, header: &Header) -> Result<Self>
Load the given raw value, checking it for validity.
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.