pub struct EthernetRxControlHandle { /* private fields */ }Implementations§
Source§impl EthernetRxControlHandle
impl EthernetRxControlHandle
pub fn shutdown_with_epitaph(&self, status: impl Into<Epitaph>)
Trait Implementations§
Source§impl Clone for EthernetRxControlHandle
impl Clone for EthernetRxControlHandle
Source§impl ControlHandle for EthernetRxControlHandle
impl ControlHandle for EthernetRxControlHandle
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 EthernetRxControlHandle
impl !UnwindSafe for EthernetRxControlHandle
impl Freeze for EthernetRxControlHandle
impl Send for EthernetRxControlHandle
impl Sync for EthernetRxControlHandle
impl Unpin for EthernetRxControlHandle
impl UnsafeUnpin for EthernetRxControlHandle
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