pub enum PlatformMemory {
Fd(Fd),
Handle(Handle),
Ptr(Ptr),
}
Expand description
Representation of an os specific memory.
Variants§
Implementations§
Trait Implementations§
Source§impl From<Fd> for PlatformMemory
impl From<Fd> for PlatformMemory
Source§impl From<Handle> for PlatformMemory
impl From<Handle> for PlatformMemory
Source§impl From<Ptr> for PlatformMemory
impl From<Ptr> for PlatformMemory
Source§impl TryInto<Fd> for PlatformMemory
impl TryInto<Fd> for PlatformMemory
Source§impl TryInto<Handle> for PlatformMemory
impl TryInto<Handle> for PlatformMemory
Auto Trait Implementations§
impl Freeze for PlatformMemory
impl RefUnwindSafe for PlatformMemory
impl !Send for PlatformMemory
impl !Sync for PlatformMemory
impl Unpin for PlatformMemory
impl UnwindSafe for PlatformMemory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more