pub enum ServiceDisconnectReason {
Shutdown,
UpgradeHandled,
UpgradeFailed,
ExpectFailed,
PayloadDropped,
}Variants§
Shutdown
Server is shutting down
UpgradeHandled
Upgrade request is handled by Upgrade service
UpgradeFailed
Upgrade handling failed
ExpectFailed
Expect control message handling failed
PayloadDropped
Service is not interested in payload, it is not possible to continue
Trait Implementations§
Source§impl Clone for ServiceDisconnectReason
impl Clone for ServiceDisconnectReason
Source§fn clone(&self) -> ServiceDisconnectReason
fn clone(&self) -> ServiceDisconnectReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceDisconnectReason
impl Debug for ServiceDisconnectReason
Source§impl PartialEq for ServiceDisconnectReason
impl PartialEq for ServiceDisconnectReason
impl Copy for ServiceDisconnectReason
impl Eq for ServiceDisconnectReason
impl StructuralPartialEq for ServiceDisconnectReason
Auto Trait Implementations§
impl Freeze for ServiceDisconnectReason
impl RefUnwindSafe for ServiceDisconnectReason
impl Send for ServiceDisconnectReason
impl Sync for ServiceDisconnectReason
impl Unpin for ServiceDisconnectReason
impl UnwindSafe for ServiceDisconnectReason
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