Struct libc::sockaddr_alg
source · [−]#[repr(C)]pub struct sockaddr_alg {
pub salg_family: sa_family_t,
pub salg_type: [c_uchar; 14],
pub salg_feat: u32,
pub salg_mask: u32,
pub salg_name: [c_uchar; 64],
}
Fields
salg_family: sa_family_t
salg_type: [c_uchar; 14]
salg_feat: u32
salg_mask: u32
salg_name: [c_uchar; 64]
Trait Implementations
sourceimpl Clone for sockaddr_alg
impl Clone for sockaddr_alg
sourcefn clone(&self) -> sockaddr_alg
fn clone(&self) -> sockaddr_alg
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for sockaddr_alg
impl Debug for sockaddr_alg
sourceimpl Hash for sockaddr_alg
impl Hash for sockaddr_alg
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moresourceimpl PartialEq<sockaddr_alg> for sockaddr_alg
impl PartialEq<sockaddr_alg> for sockaddr_alg
sourcefn eq(&self, other: &sockaddr_alg) -> bool
fn eq(&self, other: &sockaddr_alg) -> bool
impl Copy for sockaddr_alg
impl Eq for sockaddr_alg
Auto Trait Implementations
impl RefUnwindSafe for sockaddr_alg
impl Send for sockaddr_alg
impl Sync for sockaddr_alg
impl Unpin for sockaddr_alg
impl UnwindSafe for sockaddr_alg
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more