pub struct PairAbort {
pub reason: String,
}Expand description
pair/abort: ends a pairing attempt, whether or not it started.
Both directions send it. The reason is one of the values pairing.md defines; an unknown
value is carried verbatim rather than treated as a decoding failure, so a later revision’s
reason does not end the connection.
Fields§
§reason: StringWhy the attempt ended, for example attempt_timeout or method_not_supported.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PairAbort
impl<'de> Deserialize<'de> for PairAbort
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 PairAbort
impl StructuralPartialEq for PairAbort
Auto Trait Implementations§
impl Forget for PairAbort
impl Freeze for PairAbort
impl Move for PairAbort
impl RefUnwindSafe for PairAbort
impl Send for PairAbort
impl Sync for PairAbort
impl Unpin for PairAbort
impl UnsafeUnpin for PairAbort
impl UnwindSafe for PairAbort
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