pub trait ChunkIdExt {
// Provided methods
fn with_fragments(
a: impl StrictEncode,
b: impl StrictEncode,
) -> Result<ChunkId, Error> { ... }
fn with_fixed_fragments(
a: impl StrictEncode,
b: impl StrictEncode,
) -> ChunkId { ... }
fn try_from(data: impl StrictEncode) -> Result<ChunkId, Error> { ... }
}
Provided Methods§
fn with_fragments( a: impl StrictEncode, b: impl StrictEncode, ) -> Result<ChunkId, Error>
fn with_fixed_fragments(a: impl StrictEncode, b: impl StrictEncode) -> ChunkId
fn try_from(data: impl StrictEncode) -> Result<ChunkId, Error>
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.