Struct tokio_stream::wrappers::UnixListenerStream [−][src]
pub struct UnixListenerStream { /* fields omitted */ }
This is supported on Unix and crate feature
net
only.Expand description
A wrapper around UnixListener
that implements Stream
.
Implementations
impl UnixListenerStream
[src]
impl UnixListenerStream
[src]pub fn new(listener: UnixListener) -> Self
[src]
pub fn new(listener: UnixListener) -> Self
[src]Create a new UnixListenerStream
.
pub fn into_inner(self) -> UnixListener
[src]
pub fn into_inner(self) -> UnixListener
[src]Get back the inner UnixListener
.
Trait Implementations
impl AsMut<UnixListener> for UnixListenerStream
[src]
impl AsMut<UnixListener> for UnixListenerStream
[src]fn as_mut(&mut self) -> &mut UnixListener
[src]
fn as_mut(&mut self) -> &mut UnixListener
[src]Performs the conversion.
impl AsRef<UnixListener> for UnixListenerStream
[src]
impl AsRef<UnixListener> for UnixListenerStream
[src]fn as_ref(&self) -> &UnixListener
[src]
fn as_ref(&self) -> &UnixListener
[src]Performs the conversion.
impl Debug for UnixListenerStream
[src]
impl Debug for UnixListenerStream
[src]impl Stream for UnixListenerStream
[src]
impl Stream for UnixListenerStream
[src]type Item = Result<UnixStream>
type Item = Result<UnixStream>
Values yielded by the stream.
Auto Trait Implementations
impl !RefUnwindSafe for UnixListenerStream
impl Send for UnixListenerStream
impl Sync for UnixListenerStream
impl Unpin for UnixListenerStream
impl !UnwindSafe for UnixListenerStream
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more