File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ impl UnixStream {
197
197
/// println!("Got error: {:?}", err);
198
198
/// }
199
199
/// ```
200
+ ///
201
+ /// # Platform specific
202
+ /// On Redox this always returns None.
200
203
pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
201
204
Ok ( None )
202
205
}
@@ -400,6 +403,9 @@ impl UnixListener {
400
403
/// println!("Got error: {:?}", err);
401
404
/// }
402
405
/// ```
406
+ ///
407
+ /// # Platform specific
408
+ /// On Redox this always returns None.
403
409
pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
404
410
Ok ( None )
405
411
}
Original file line number Diff line number Diff line change @@ -524,6 +524,9 @@ impl UnixStream {
524
524
/// println!("Got error: {:?}", err);
525
525
/// }
526
526
/// ```
527
+ ///
528
+ /// # Platform specific
529
+ /// On Redox this always returns None.
527
530
#[ stable( feature = "unix_socket" , since = "1.10.0" ) ]
528
531
pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
529
532
self . 0 . take_error ( )
@@ -846,6 +849,9 @@ impl UnixListener {
846
849
/// println!("Got error: {:?}", err);
847
850
/// }
848
851
/// ```
852
+ ///
853
+ /// # Platform specific
854
+ /// On Redox this always returns None.
849
855
#[ stable( feature = "unix_socket" , since = "1.10.0" ) ]
850
856
pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
851
857
self . 0 . take_error ( )
You can’t perform that action at this time.
0 commit comments