pub trait Block:
Send
+ Sync
+ Clone
+ PartialEq
+ Debug
+ Encode
+ Decode {
type Id: Send + Sync + Copy + Clone + PartialEq + AsRef<[u8]> + Debug + Encode + Decode;
// Required method
fn id(&self) -> Self::Id;
}Expand description
Trait representing a Block.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".