pub struct ControlAck {
pub session: String,
pub accepted: bool,
}Expand description
Successful cancel or shutdown acknowledgement.
Fields§
§session: StringAuthenticated process session.
accepted: boolAlways true; cancel does not reveal correlation existence.
Implementations§
Source§impl ControlAck
impl ControlAck
Sourcepub fn validate(&self) -> Result<(), ProtocolError>
pub fn validate(&self) -> Result<(), ProtocolError>
Validates an authenticated, affirmative control acknowledgement.
Trait Implementations§
Source§impl Clone for ControlAck
impl Clone for ControlAck
Source§fn clone(&self) -> ControlAck
fn clone(&self) -> ControlAck
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 ControlAck
impl Debug for ControlAck
Source§impl<'de> Deserialize<'de> for ControlAck
impl<'de> Deserialize<'de> for ControlAck
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 ControlAck
Source§impl PartialEq for ControlAck
impl PartialEq for ControlAck
Source§impl Serialize for ControlAck
impl Serialize for ControlAck
impl StructuralPartialEq for ControlAck
Auto Trait Implementations§
impl Freeze for ControlAck
impl RefUnwindSafe for ControlAck
impl Send for ControlAck
impl Sync for ControlAck
impl Unpin for ControlAck
impl UnsafeUnpin for ControlAck
impl UnwindSafe for ControlAck
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