pub type USegment = Segment<dyn AnyUFrameMeta>;
Expand description
A contiguous range of homogeneous untyped physical memory frames that have any metadata.
In other words, the metadata of the frames are of the same type, and they
are untyped, but the type of metadata is not known at compile time. An
USegment
as a parameter accepts any untyped segments.
The usage of this frame will not be changed while this object is alive.
Aliased Type§
struct USegment { /* private fields */ }
Trait Implementations§
Source§impl<M: AnyUFrameMeta> From<Segment<M>> for USegment
impl<M: AnyUFrameMeta> From<Segment<M>> for USegment
Source§impl TryFrom<Segment<dyn AnyFrameMeta>> for USegment
impl TryFrom<Segment<dyn AnyFrameMeta>> for USegment
Source§fn try_from(seg: Segment<dyn AnyFrameMeta>) -> Result<Self, Self::Error>
fn try_from(seg: Segment<dyn AnyFrameMeta>) -> Result<Self, Self::Error>
Try converting a Segment<dyn AnyFrameMeta>
into USegment
.
If the usage of the page is not the same as the expected usage, it will return the dynamic page itself as is.
Source§type Error = Segment<dyn AnyFrameMeta>
type Error = Segment<dyn AnyFrameMeta>
The type returned in the event of a conversion error.