pub trait SizeInBytes {
// Required method
fn size_in_bytes() -> usize;
}Required Methods§
Sourcefn size_in_bytes() -> usize
fn size_in_bytes() -> usize
Returns the size in bytes.
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<N> SizeInBytes for ComputeKey<N>where
N: Network,
impl<N> SizeInBytes for ComputeKey<N>where
N: Network,
Source§fn size_in_bytes() -> usize
fn size_in_bytes() -> usize
Returns the compute key size in bytes.