#[repr(transparent)]pub struct AlgAddr(_);
Expand description
Socket address for the Linux kernel crypto API
Implementations§
Trait Implementations§
source§impl AsRef<sockaddr_alg> for AlgAddr
impl AsRef<sockaddr_alg> for AlgAddr
source§fn as_ref(&self) -> &sockaddr_alg
fn as_ref(&self) -> &sockaddr_alg
Converts this type into a shared reference of the (usually inferred) input type.
source§impl SockaddrLike for AlgAddr
impl SockaddrLike for AlgAddr
source§unsafe fn from_raw(addr: *const sockaddr, l: Option<socklen_t>) -> Option<Self>where
Self: Sized,
unsafe fn from_raw(addr: *const sockaddr, l: Option<socklen_t>) -> Option<Self>where
Self: Sized,
Unsafe constructor from a variable length source Read more
source§fn as_ptr(&self) -> *const sockaddr
fn as_ptr(&self) -> *const sockaddr
Returns a raw pointer to the inner structure. Useful for FFI.