pub struct AeronEndOfLifeResource { /* private fields */ }
Implementations§
source§impl AeronEndOfLifeResource
impl AeronEndOfLifeResource
pub fn new( resource: *mut c_void, free_func: aeron_end_of_life_resource_free_t, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn resource(&self) -> *mut c_void
pub fn free_func(&self) -> aeron_end_of_life_resource_free_t
pub fn get_inner(&self) -> *mut aeron_end_of_life_resource_t
Trait Implementations§
source§impl Clone for AeronEndOfLifeResource
impl Clone for AeronEndOfLifeResource
source§fn clone(&self) -> AeronEndOfLifeResource
fn clone(&self) -> AeronEndOfLifeResource
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 Debug for AeronEndOfLifeResource
impl Debug for AeronEndOfLifeResource
source§impl Default for AeronEndOfLifeResource
impl Default for AeronEndOfLifeResource
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronEndOfLifeResource
impl Deref for AeronEndOfLifeResource
source§impl From<&AeronEndOfLifeResource> for *mut aeron_end_of_life_resource_t
impl From<&AeronEndOfLifeResource> for *mut aeron_end_of_life_resource_t
source§fn from(value: &AeronEndOfLifeResource) -> Self
fn from(value: &AeronEndOfLifeResource) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_end_of_life_resource_stct> for AeronEndOfLifeResource
impl From<*const aeron_end_of_life_resource_stct> for AeronEndOfLifeResource
source§fn from(value: *const aeron_end_of_life_resource_t) -> Self
fn from(value: *const aeron_end_of_life_resource_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_end_of_life_resource_stct> for AeronEndOfLifeResource
impl From<*mut aeron_end_of_life_resource_stct> for AeronEndOfLifeResource
source§fn from(value: *mut aeron_end_of_life_resource_t) -> Self
fn from(value: *mut aeron_end_of_life_resource_t) -> Self
Converts to this type from the input type.
source§impl From<AeronEndOfLifeResource> for *mut aeron_end_of_life_resource_t
impl From<AeronEndOfLifeResource> for *mut aeron_end_of_life_resource_t
source§fn from(value: AeronEndOfLifeResource) -> Self
fn from(value: AeronEndOfLifeResource) -> Self
Converts to this type from the input type.
source§impl From<AeronEndOfLifeResource> for aeron_end_of_life_resource_t
impl From<AeronEndOfLifeResource> for aeron_end_of_life_resource_t
source§fn from(value: AeronEndOfLifeResource) -> Self
fn from(value: AeronEndOfLifeResource) -> Self
Converts to this type from the input type.
source§impl From<aeron_end_of_life_resource_stct> for AeronEndOfLifeResource
impl From<aeron_end_of_life_resource_stct> for AeronEndOfLifeResource
source§fn from(value: aeron_end_of_life_resource_t) -> Self
fn from(value: aeron_end_of_life_resource_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronEndOfLifeResource
impl !RefUnwindSafe for AeronEndOfLifeResource
impl !Send for AeronEndOfLifeResource
impl !Sync for AeronEndOfLifeResource
impl Unpin for AeronEndOfLifeResource
impl !UnwindSafe for AeronEndOfLifeResource
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
)