pub struct TcpServerRef { /* private fields */ }
Expand description
Reference to a TCP server instance.
Implementations§
Methods from Deref<Target = ServerRef>§
pub fn is_finished(&self) -> bool
pub fn shutdown(&self)
Trait Implementations§
Source§impl Deref for TcpServerRef
impl Deref for TcpServerRef
Source§impl DerefMut for TcpServerRef
impl DerefMut for TcpServerRef
Source§impl Future for TcpServerRef
impl Future for TcpServerRef
Auto Trait Implementations§
impl Freeze for TcpServerRef
impl !RefUnwindSafe for TcpServerRef
impl Send for TcpServerRef
impl Sync for TcpServerRef
impl Unpin for TcpServerRef
impl !UnwindSafe for TcpServerRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more