Home
last modified time | relevance | path

Searched refs:SockaddrLike (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/vsock/src/
Dlib.rs41 pub use nix::sys::socket::{SockaddrLike, VsockAddr};
74 pub fn bind(addr: &impl SockaddrLike) -> Result<Self> { in bind()
195 pub fn connect(addr: &impl SockaddrLike) -> Result<Self> { in connect()
/external/rust/crates/nix/src/sys/socket/
Dmod.rs33 pub use self::addr::{SockaddrLike, SockaddrStorage};
1477 where S: SockaddrLike
1531 S: SockaddrLike + 'a
1610 S: Copy + SockaddrLike,
1744 S: Copy + SockaddrLike,
1921 where S: SockaddrLike
1964 S: SockaddrLike
1989 S: SockaddrLike + 'a
2050 where S: SockaddrLike + 'a,
2144 pub fn bind(fd: RawFd, addr: &dyn SockaddrLike) -> Result<()> { in bind()
[all …]
Daddr.rs999 impl SockaddrLike for UnixAddr {
1102 pub trait SockaddrLike: private::SockaddrLikePriv { trait
1213 impl SockaddrLike for () { impl
1286 impl SockaddrLike for SockaddrIn {
1405 impl SockaddrLike for SockaddrIn6 {
1540 impl SockaddrLike for SockaddrStorage {
2323 impl SockaddrLike for SockAddr {
2373 impl SockaddrLike for NetlinkAddr {
2421 impl SockaddrLike for AlgAddr {
2539 use super::{private, SockaddrLike};
[all …]
/external/rust/crates/nix/src/
Difaddrs.rs15 use crate::sys::socket::{SockaddrLike, SockaddrStorage};
/external/rust/crates/nix/test/sys/
Dtest_socket.rs251 use crate::nix::sys::socket::SockaddrLike; in test_unnamed_uds_addr()
1640 use nix::sys::socket::SockaddrLike; in loopback_address()
1656 && ifaddr.address.as_ref().and_then(SockaddrLike::family) in loopback_address()
/external/rust/crates/nix/
DCHANGELOG.md157 - Fixed `SockaddrLike::from_raw` implementations for `VsockAddr` and