mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 20:17:55 +00:00
Add missing stability attribute
This commit is contained in:
parent
d56969656e
commit
084b0da933
@ -76,6 +76,7 @@ impl AsRawFd for net::TcpListener {
|
|||||||
|
|
||||||
/// Metadata for `TcpStream`.
|
/// Metadata for `TcpStream`.
|
||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
|
#[unstable(feature = "sgx_platform", issue = "56975")]
|
||||||
pub struct TcpStreamMetadata {
|
pub struct TcpStreamMetadata {
|
||||||
/// Local address of the TCP stream
|
/// Local address of the TCP stream
|
||||||
pub local_addr: Option<String>,
|
pub local_addr: Option<String>,
|
||||||
@ -95,6 +96,7 @@ impl FromRawFd for net::TcpStream {
|
|||||||
|
|
||||||
/// Metadata for `TcpListener`.
|
/// Metadata for `TcpListener`.
|
||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
|
#[unstable(feature = "sgx_platform", issue = "56975")]
|
||||||
pub struct TcpListenerMetadata {
|
pub struct TcpListenerMetadata {
|
||||||
/// Local address of the TCP listener
|
/// Local address of the TCP listener
|
||||||
pub local_addr: Option<String>,
|
pub local_addr: Option<String>,
|
||||||
|
Loading…
Reference in New Issue
Block a user