#[repr(C)]pub struct aeron_driver_managed_resource_stct {
pub registration_id: i64,
pub time_of_last_state_change_ns: i64,
pub clientd: *mut c_void,
pub decref: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub incref: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
}
Fields§
§registration_id: i64
§time_of_last_state_change_ns: i64
§clientd: *mut c_void
§decref: Option<unsafe extern "C" fn(arg1: *mut c_void)>
§incref: Option<unsafe extern "C" fn(arg1: *mut c_void)>
Trait Implementations§
source§impl Clone for aeron_driver_managed_resource_stct
impl Clone for aeron_driver_managed_resource_stct
source§fn clone(&self) -> aeron_driver_managed_resource_stct
fn clone(&self) -> aeron_driver_managed_resource_stct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<aeron_driver_managed_resource_stct> for AeronDriverManagedResource
impl From<aeron_driver_managed_resource_stct> for AeronDriverManagedResource
source§fn from(value: aeron_driver_managed_resource_t) -> Self
fn from(value: aeron_driver_managed_resource_t) -> Self
Converts to this type from the input type.
impl Copy for aeron_driver_managed_resource_stct
Auto Trait Implementations§
impl Freeze for aeron_driver_managed_resource_stct
impl RefUnwindSafe for aeron_driver_managed_resource_stct
impl !Send for aeron_driver_managed_resource_stct
impl !Sync for aeron_driver_managed_resource_stct
impl Unpin for aeron_driver_managed_resource_stct
impl UnwindSafe for aeron_driver_managed_resource_stct
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)