pub enum ClientControlPush {
RouteClosing {
module_id: String,
reason: RouteCloseReason,
},
RouteClosed {
module_id: String,
reason: RouteCloseReason,
drained: bool,
abandoned: u32,
terminal: Option<bool>,
},
}Expand description
Daemon-originated channel-0 control push body.
A module cannot originate these pushes: subc creates them from its own forwarding state and enqueues them directly to client connection sinks.
Variants§
RouteClosing
RouteClosed
Fields
§
reason: RouteCloseReasonTrait Implementations§
Source§impl Clone for ClientControlPush
impl Clone for ClientControlPush
Source§fn clone(&self) -> ClientControlPush
fn clone(&self) -> ClientControlPush
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientControlPush
impl Debug for ClientControlPush
Source§impl<'de> Deserialize<'de> for ClientControlPush
impl<'de> Deserialize<'de> for ClientControlPush
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClientControlPush
Source§impl PartialEq for ClientControlPush
impl PartialEq for ClientControlPush
Source§impl Serialize for ClientControlPush
impl Serialize for ClientControlPush
impl StructuralPartialEq for ClientControlPush
Auto Trait Implementations§
impl Freeze for ClientControlPush
impl RefUnwindSafe for ClientControlPush
impl Send for ClientControlPush
impl Sync for ClientControlPush
impl Unpin for ClientControlPush
impl UnsafeUnpin for ClientControlPush
impl UnwindSafe for ClientControlPush
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