#[repr(transparent)]pub(super) struct Opaque(c_void);
Expand description
To preserve provenance, syscall arguments and return values are passed as pointer types. They need a type to point to, so we define a custom private type, to prevent it from being used for anything else.
Tuple Fields§
§0: c_void
Auto Trait Implementations§
impl Freeze for Opaque
impl RefUnwindSafe for Opaque
impl Send for Opaque
impl Sync for Opaque
impl Unpin for Opaque
impl UnwindSafe for Opaque
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