Enum std::os::unix::net::AncillaryError[][src]

#[non_exhaustive]
pub enum AncillaryError {
    Unknown {
        cmsg_level: i32,
        cmsg_type: i32,
    },
}
🔬 This is a nightly-only experimental API. (unix_socket_ancillary_data #76915)
This is supported on Unix only.
Expand description

从解析控制消息后返回的错误类型。

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
🔬 This is a nightly-only experimental API. (unix_socket_ancillary_data #76915)
Show fields

Fields of Unknown

cmsg_level: i32
🔬 This is a nightly-only experimental API. (unix_socket_ancillary_data #76915)
cmsg_type: i32
🔬 This is a nightly-only experimental API. (unix_socket_ancillary_data #76915)

Trait Implementations

This is supported on Android or DragonFly BSD or Emscripten or FreeBSD or Linux or NetBSD or OpenBSD only.

使用给定的格式化程序格式化该值。 Read more

Auto Trait Implementations

Blanket Implementations

获取 selfTypeIdRead more

从拥有的值中一成不变地借用。 Read more

从拥有的值中借用。 Read more

执行转换。

执行转换。

发生转换错误时返回的类型。

执行转换。

发生转换错误时返回的类型。

执行转换。