Struct erl_nif_sys::ErlDrvSysInfo
source · [−]#[repr(C)]pub struct ErlDrvSysInfo {
pub driver_major_version: c_int,
pub driver_minor_version: c_int,
pub erts_version: *mut c_char,
pub otp_release: *mut c_char,
pub thread_support: c_int,
pub smp_support: c_int,
pub async_threads: c_int,
pub scheduler_threads: c_int,
pub nif_major_version: c_int,
pub nif_minor_version: c_int,
pub dirty_scheduler_support: c_int,
}
Fields
driver_major_version: c_int
driver_minor_version: c_int
erts_version: *mut c_char
otp_release: *mut c_char
thread_support: c_int
smp_support: c_int
async_threads: c_int
scheduler_threads: c_int
nif_major_version: c_int
nif_minor_version: c_int
dirty_scheduler_support: c_int
Trait Implementations
sourceimpl Clone for ErlDrvSysInfo
impl Clone for ErlDrvSysInfo
sourcefn clone(&self) -> ErlDrvSysInfo
fn clone(&self) -> ErlDrvSysInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ErlDrvSysInfo
impl Debug for ErlDrvSysInfo
impl Copy for ErlDrvSysInfo
Auto Trait Implementations
impl RefUnwindSafe for ErlDrvSysInfo
impl !Send for ErlDrvSysInfo
impl !Sync for ErlDrvSysInfo
impl Unpin for ErlDrvSysInfo
impl UnwindSafe for ErlDrvSysInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more