pub struct LifecycleAction {
pub state: ConnectionState,
pub response: Option<Frame>,
}Expand description
Result of lifecycle frame handling.
Fields§
§state: ConnectionStateState after accepting the frame.
response: Option<Frame>Optional protocol response generated by handling the frame.
Trait Implementations§
Source§impl Clone for LifecycleAction
impl Clone for LifecycleAction
Source§fn clone(&self) -> LifecycleAction
fn clone(&self) -> LifecycleAction
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 LifecycleAction
impl Debug for LifecycleAction
impl Eq for LifecycleAction
Source§impl PartialEq for LifecycleAction
impl PartialEq for LifecycleAction
Source§fn eq(&self, other: &LifecycleAction) -> bool
fn eq(&self, other: &LifecycleAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LifecycleAction
Auto Trait Implementations§
impl Freeze for LifecycleAction
impl RefUnwindSafe for LifecycleAction
impl Send for LifecycleAction
impl Sync for LifecycleAction
impl Unpin for LifecycleAction
impl UnsafeUnpin for LifecycleAction
impl UnwindSafe for LifecycleAction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.