mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 12:07:31 +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`.
|
||||
#[derive(Debug, Clone, Default)]
|
||||
#[unstable(feature = "sgx_platform", issue = "56975")]
|
||||
pub struct TcpStreamMetadata {
|
||||
/// Local address of the TCP stream
|
||||
pub local_addr: Option<String>,
|
||||
@ -95,6 +96,7 @@ impl FromRawFd for net::TcpStream {
|
||||
|
||||
/// Metadata for `TcpListener`.
|
||||
#[derive(Debug, Clone, Default)]
|
||||
#[unstable(feature = "sgx_platform", issue = "56975")]
|
||||
pub struct TcpListenerMetadata {
|
||||
/// Local address of the TCP listener
|
||||
pub local_addr: Option<String>,
|
||||
|
Loading…
Reference in New Issue
Block a user