pub unsafe trait Extent {
type Length: Copy + From<U32<0, { _ }>> + Into<U32<0, { _ }>>;
type Capacity: Copy + Into<NonZero<u32>>;
}Expand description
Exact bounded lengths carried by pending and completed receive owners.
§Safety
Conversions preserve the exact ABI-bounded count and nonzero capacity.
Required Associated Types§
type Length: Copy + From<U32<0, { _ }>> + Into<U32<0, { _ }>>
type Capacity: Copy + Into<NonZero<u32>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".