pub trait GenericOwnedBlockBody:
Clone
+ Debug
+ Send
+ Sync
+ Into<OwnedBlockBody>
+ 'static {
type Body<'a>: GenericBlockBody<'a>
where Self: 'a;
const SHARD_KIND: RealShardKind;
// Required methods
fn buffer(&self) -> &SharedAlignedBuffer;
fn ref_count(&self) -> usize;
fn body(&self) -> &Self::Body<'_>;
}Expand description
Generic owned block body
Required Associated Constants§
Sourceconst SHARD_KIND: RealShardKind
const SHARD_KIND: RealShardKind
Shard kind
Required Associated Types§
Sourcetype Body<'a>: GenericBlockBody<'a>
where
Self: 'a
type Body<'a>: GenericBlockBody<'a> where Self: 'a
Block body
Required Methods§
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.