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