Struct rusteron_media_driver::AeronHeaderValues
source · pub struct AeronHeaderValues { /* private fields */ }
Implementations§
source§impl AeronHeaderValues
impl AeronHeaderValues
pub fn new( frame: AeronHeaderValuesFrame, initial_term_id: i32, position_bits_to_shift: usize, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn frame(&self) -> AeronHeaderValuesFrame
pub fn initial_term_id(&self) -> i32
pub fn position_bits_to_shift(&self) -> usize
pub fn get_inner(&self) -> *mut aeron_header_values_t
Trait Implementations§
source§impl Clone for AeronHeaderValues
impl Clone for AeronHeaderValues
source§fn clone(&self) -> AeronHeaderValues
fn clone(&self) -> AeronHeaderValues
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 AeronHeaderValues
impl Debug for AeronHeaderValues
source§impl Default for AeronHeaderValues
impl Default for AeronHeaderValues
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronHeaderValues
impl Deref for AeronHeaderValues
source§impl From<&AeronHeaderValues> for *mut aeron_header_values_t
impl From<&AeronHeaderValues> for *mut aeron_header_values_t
source§fn from(value: &AeronHeaderValues) -> Self
fn from(value: &AeronHeaderValues) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_header_values_stct> for AeronHeaderValues
impl From<*const aeron_header_values_stct> for AeronHeaderValues
source§fn from(value: *const aeron_header_values_t) -> Self
fn from(value: *const aeron_header_values_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_header_values_stct> for AeronHeaderValues
impl From<*mut aeron_header_values_stct> for AeronHeaderValues
source§fn from(value: *mut aeron_header_values_t) -> Self
fn from(value: *mut aeron_header_values_t) -> Self
Converts to this type from the input type.
source§impl From<AeronHeaderValues> for *mut aeron_header_values_t
impl From<AeronHeaderValues> for *mut aeron_header_values_t
source§fn from(value: AeronHeaderValues) -> Self
fn from(value: AeronHeaderValues) -> Self
Converts to this type from the input type.
source§impl From<AeronHeaderValues> for aeron_header_values_t
impl From<AeronHeaderValues> for aeron_header_values_t
source§fn from(value: AeronHeaderValues) -> Self
fn from(value: AeronHeaderValues) -> Self
Converts to this type from the input type.
source§impl From<aeron_header_values_stct> for AeronHeaderValues
impl From<aeron_header_values_stct> for AeronHeaderValues
source§fn from(value: aeron_header_values_t) -> Self
fn from(value: aeron_header_values_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronHeaderValues
impl !RefUnwindSafe for AeronHeaderValues
impl !Send for AeronHeaderValues
impl !Sync for AeronHeaderValues
impl Unpin for AeronHeaderValues
impl !UnwindSafe for AeronHeaderValues
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
)