pub struct ServerUnpair {}Expand description
server/unpair: the server dropped its pairing record for this client.
The payload is the empty object, the same shape as ServerPairFinalize. The message means the
server no longer holds the long-term PSK that authenticates this client, so the client removes
its own record and closes the connection. It is valid under any activity set, and a client on an
unpaired session - one keyed by the Sentinel key or by its pairing PSK - ignores it.
Trait Implementations§
Source§impl Clone for ServerUnpair
impl Clone for ServerUnpair
Source§impl Debug for ServerUnpair
impl Debug for ServerUnpair
Source§impl Default for ServerUnpair
impl Default for ServerUnpair
Source§impl<'de> Deserialize<'de> for ServerUnpair
impl<'de> Deserialize<'de> for ServerUnpair
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 ServerUnpair
Source§impl PartialEq for ServerUnpair
impl PartialEq for ServerUnpair
Source§impl Serialize for ServerUnpair
impl Serialize for ServerUnpair
impl StructuralPartialEq for ServerUnpair
Auto Trait Implementations§
impl Forget for ServerUnpair
impl Freeze for ServerUnpair
impl Move for ServerUnpair
impl RefUnwindSafe for ServerUnpair
impl Send for ServerUnpair
impl Sync for ServerUnpair
impl Unpin for ServerUnpair
impl UnsafeUnpin for ServerUnpair
impl UnwindSafe for ServerUnpair
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