pub struct ClientPairPending {
pub pairing_index: u32,
pub message: Option<String>,
}Expand description
client/pair-pending: the client is holding the admitted attempt back.
Sent instead of ClientPairInit while the static flow’s pairing window is closed, or while
the dynamic flow’s round limit holds attempts back. It neither starts the attempt nor its
timeout, so a pairing_index here may be followed by an init carrying the same value later.
Fields§
§pairing_index: u32Number of pairing server/activate messages received since the last Noise handshake.
message: Option<String>Short sentence for the operator, supplied by the host.
The spec allows at most 200 bytes of UTF-8; the client sends what its configuration holds.
Trait Implementations§
Source§impl Clone for ClientPairPending
impl Clone for ClientPairPending
Source§impl Debug for ClientPairPending
impl Debug for ClientPairPending
Source§impl<'de> Deserialize<'de> for ClientPairPending
impl<'de> Deserialize<'de> for ClientPairPending
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 ClientPairPending
Source§impl PartialEq for ClientPairPending
impl PartialEq for ClientPairPending
Source§impl Serialize for ClientPairPending
impl Serialize for ClientPairPending
impl StructuralPartialEq for ClientPairPending
Auto Trait Implementations§
impl Forget for ClientPairPending
impl Freeze for ClientPairPending
impl Move for ClientPairPending
impl RefUnwindSafe for ClientPairPending
impl Send for ClientPairPending
impl Sync for ClientPairPending
impl Unpin for ClientPairPending
impl UnsafeUnpin for ClientPairPending
impl UnwindSafe for ClientPairPending
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