1
Fork 0

Add missing stability attribute

This commit is contained in:
Mohsen Zohrevandi 2020-11-12 09:11:05 -08:00
parent d56969656e
commit 084b0da933

View file

@ -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>,