Struct rusteron_media_driver::AeronCncMetadata
source · pub struct AeronCncMetadata { /* private fields */ }
Implementations§
source§impl AeronCncMetadata
impl AeronCncMetadata
pub fn new( cnc_version: i32, to_driver_buffer_length: i32, to_clients_buffer_length: i32, counter_metadata_buffer_length: i32, counter_values_buffer_length: i32, error_log_buffer_length: i32, client_liveness_timeout: i64, start_timestamp: i64, pid: i64, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn cnc_version(&self) -> i32
pub fn to_driver_buffer_length(&self) -> i32
pub fn to_clients_buffer_length(&self) -> i32
pub fn counter_metadata_buffer_length(&self) -> i32
pub fn counter_values_buffer_length(&self) -> i32
pub fn error_log_buffer_length(&self) -> i32
pub fn client_liveness_timeout(&self) -> i64
pub fn start_timestamp(&self) -> i64
pub fn pid(&self) -> i64
pub fn aeron_cnc_version_volatile(&self) -> i32
pub fn get_inner(&self) -> *mut aeron_cnc_metadata_t
Trait Implementations§
source§impl Clone for AeronCncMetadata
impl Clone for AeronCncMetadata
source§fn clone(&self) -> AeronCncMetadata
fn clone(&self) -> AeronCncMetadata
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 AeronCncMetadata
impl Debug for AeronCncMetadata
source§impl Default for AeronCncMetadata
impl Default for AeronCncMetadata
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronCncMetadata
impl Deref for AeronCncMetadata
source§impl From<&AeronCncMetadata> for *mut aeron_cnc_metadata_t
impl From<&AeronCncMetadata> for *mut aeron_cnc_metadata_t
source§fn from(value: &AeronCncMetadata) -> Self
fn from(value: &AeronCncMetadata) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_cnc_metadata_stct> for AeronCncMetadata
impl From<*const aeron_cnc_metadata_stct> for AeronCncMetadata
source§fn from(value: *const aeron_cnc_metadata_t) -> Self
fn from(value: *const aeron_cnc_metadata_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_cnc_metadata_stct> for AeronCncMetadata
impl From<*mut aeron_cnc_metadata_stct> for AeronCncMetadata
source§fn from(value: *mut aeron_cnc_metadata_t) -> Self
fn from(value: *mut aeron_cnc_metadata_t) -> Self
Converts to this type from the input type.
source§impl From<AeronCncMetadata> for *mut aeron_cnc_metadata_t
impl From<AeronCncMetadata> for *mut aeron_cnc_metadata_t
source§fn from(value: AeronCncMetadata) -> Self
fn from(value: AeronCncMetadata) -> Self
Converts to this type from the input type.
source§impl From<AeronCncMetadata> for aeron_cnc_metadata_t
impl From<AeronCncMetadata> for aeron_cnc_metadata_t
source§fn from(value: AeronCncMetadata) -> Self
fn from(value: AeronCncMetadata) -> Self
Converts to this type from the input type.
source§impl From<aeron_cnc_metadata_stct> for AeronCncMetadata
impl From<aeron_cnc_metadata_stct> for AeronCncMetadata
source§fn from(value: aeron_cnc_metadata_t) -> Self
fn from(value: aeron_cnc_metadata_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronCncMetadata
impl !RefUnwindSafe for AeronCncMetadata
impl !Send for AeronCncMetadata
impl !Sync for AeronCncMetadata
impl Unpin for AeronCncMetadata
impl !UnwindSafe for AeronCncMetadata
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
)