pub trait FromDisk: Sized {
// Required method
fn from_bytes(bytes: impl AsRef<[u8]>) -> Self;
}Expand description
Helper type for reading types from disk as raw bytes.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl FromDisk for Address
Available on crate features proptest-impl only.
impl FromDisk for Address
Available on crate features
proptest-impl only.