1.1.0[][src]Enum sgx_types::c_void

#[repr(u8)]
pub enum c_void { // some variants omitted }

Equivalent to C's void type when used as a pointer.

In essence, *const c_void is equivalent to C's const void* and *mut c_void is equivalent to C's void*. That said, this is not the same as C's void return type, which is Rust's () type.

Ideally, this type would be equivalent to !, but currently it may be more ideal to use c_void for FFI purposes.

Trait Implementations

impl Debug for c_void
1.16.0
[src]

Auto Trait Implementations

impl Send for c_void

impl Sync for c_void

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]