Trait SockaddrLikePriv

Source
pub trait SockaddrLikePriv {
    // Provided method
    fn as_mut_ptr(&mut self) -> *mut sockaddr { ... }
}

Provided Methods§

Source

fn as_mut_ptr(&mut self) -> *mut sockaddr

Returns a mutable raw pointer to the inner structure.

§Safety

This method is technically safe, but modifying the inner structure’s family or len fields may result in violating Nix’s invariants. It is best to use this method only with foreign functions that do not change the sockaddr type.

Implementations on Foreign Types§

Source§

impl SockaddrLikePriv for ()

Implementors§