pub enum Standing {
Stranger,
Paired,
KeyHeld,
Unknown,
}Expand description
What the dialling server is to the one it dialled.
Variants§
Stranger
No pair: it may redeem a pairing invite, and nothing else.
Paired
Paired: this endpoint and server id are pinned.
KeyHeld
Its server id is paired with another key. The new key waits for
the other’s admin to confirm it, and reaches only Hello until
then.
Unknown
A standing this build does not know.
Trait Implementations§
impl Copy for Standing
Source§impl<'de> Deserialize<'de> for Standing
impl<'de> Deserialize<'de> for Standing
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 Standing
impl StructuralPartialEq for Standing
Auto Trait Implementations§
impl Freeze for Standing
impl RefUnwindSafe for Standing
impl Send for Standing
impl Sync for Standing
impl Unpin for Standing
impl UnsafeUnpin for Standing
impl UnwindSafe for Standing
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