Struct rusteron_media_driver::SockaddrStorage
source · pub struct SockaddrStorage { /* private fields */ }
Implementations§
source§impl SockaddrStorage
impl SockaddrStorage
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn ss_family(&self) -> sa_family_t
pub fn aeron_set_ipv4_wildcard_host_and_port(&self)
pub fn aeron_set_ipv6_wildcard_host_and_port(&self)
pub fn aeron_is_addr_multicast(&self) -> bool
pub fn aeron_is_wildcard_addr(&self) -> bool
pub fn aeron_is_wildcard_port(&self) -> bool
pub fn aeron_e_cmp(&self) -> Result<bool, AeronCError>
pub fn get_inner(&self) -> *mut sockaddr_storage
Trait Implementations§
source§impl Clone for SockaddrStorage
impl Clone for SockaddrStorage
source§fn clone(&self) -> SockaddrStorage
fn clone(&self) -> SockaddrStorage
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 SockaddrStorage
impl Debug for SockaddrStorage
source§impl Deref for SockaddrStorage
impl Deref for SockaddrStorage
source§impl From<&SockaddrStorage> for *mut sockaddr_storage
impl From<&SockaddrStorage> for *mut sockaddr_storage
source§fn from(value: &SockaddrStorage) -> Self
fn from(value: &SockaddrStorage) -> Self
Converts to this type from the input type.
source§impl From<*const sockaddr_storage> for SockaddrStorage
impl From<*const sockaddr_storage> for SockaddrStorage
source§fn from(value: *const sockaddr_storage) -> Self
fn from(value: *const sockaddr_storage) -> Self
Converts to this type from the input type.
source§impl From<*mut sockaddr_storage> for SockaddrStorage
impl From<*mut sockaddr_storage> for SockaddrStorage
source§fn from(value: *mut sockaddr_storage) -> Self
fn from(value: *mut sockaddr_storage) -> Self
Converts to this type from the input type.
source§impl From<SockaddrStorage> for *mut sockaddr_storage
impl From<SockaddrStorage> for *mut sockaddr_storage
source§fn from(value: SockaddrStorage) -> Self
fn from(value: SockaddrStorage) -> Self
Converts to this type from the input type.
source§impl From<SockaddrStorage> for sockaddr_storage
impl From<SockaddrStorage> for sockaddr_storage
source§fn from(value: SockaddrStorage) -> Self
fn from(value: SockaddrStorage) -> Self
Converts to this type from the input type.
source§impl From<sockaddr_storage> for SockaddrStorage
impl From<sockaddr_storage> for SockaddrStorage
source§fn from(value: sockaddr_storage) -> Self
fn from(value: sockaddr_storage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SockaddrStorage
impl !RefUnwindSafe for SockaddrStorage
impl !Send for SockaddrStorage
impl !Sync for SockaddrStorage
impl Unpin for SockaddrStorage
impl !UnwindSafe for SockaddrStorage
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
)