Struct rusteron_media_driver::Msghdr
source · pub struct Msghdr { /* private fields */ }
Implementations§
source§impl Msghdr
impl Msghdr
pub fn new( msg_name: *mut c_void, msg_namelen: socklen_t, msg_iov: &Iovec, msg_iovlen: usize, msg_control: *mut c_void, msg_controllen: usize, msg_flags: c_int, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn msg_name(&self) -> *mut c_void
pub fn msg_namelen(&self) -> socklen_t
pub fn msg_iov(&self) -> Iovec
pub fn msg_iovlen(&self) -> usize
pub fn msg_control(&self) -> *mut c_void
pub fn msg_controllen(&self) -> usize
pub fn msg_flags(&self) -> c_int
pub fn get_inner(&self) -> *mut msghdr
Trait Implementations§
source§impl Default for Msghdr
impl Default for Msghdr
This will create an instance where the struct is zeroed, use with care
Auto Trait Implementations§
impl Freeze for Msghdr
impl !RefUnwindSafe for Msghdr
impl !Send for Msghdr
impl !Sync for Msghdr
impl Unpin for Msghdr
impl !UnwindSafe for Msghdr
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
)