pub struct RoutesV6ControlHandle { /* private fields */ }Implementations§
Source§impl RoutesV6ControlHandle
impl RoutesV6ControlHandle
pub fn shutdown_with_epitaph(&self, status: impl Into<Epitaph>)
Trait Implementations§
Source§impl Clone for RoutesV6ControlHandle
impl Clone for RoutesV6ControlHandle
Source§impl ControlHandle for RoutesV6ControlHandle
impl ControlHandle for RoutesV6ControlHandle
Source§fn shutdown(&self)
fn shutdown(&self)
Set the server to shutdown. The underlying channel is only closed the
next time the stream is polled.
Source§fn shutdown_with_epitaph(&self, status: Epitaph)
fn shutdown_with_epitaph(&self, status: Epitaph)
Sets the server to shutdown with an epitaph. The underlying channel is
only closed the next time the stream is polled.
Auto Trait Implementations§
impl !RefUnwindSafe for RoutesV6ControlHandle
impl !UnwindSafe for RoutesV6ControlHandle
impl Freeze for RoutesV6ControlHandle
impl Send for RoutesV6ControlHandle
impl Sync for RoutesV6ControlHandle
impl Unpin for RoutesV6ControlHandle
impl UnsafeUnpin for RoutesV6ControlHandle
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