pub struct HandOffAnswer {
pub ending: HandOffEnding,
pub source: HandOffSource,
pub client: Option<u64>,
}Expand description
One answer to a parked browser hand-off: what it means, which door sent it, and the connection that carried it.
client is stamped by the server at dispatch - a client cannot know its own
connection number - so every ending names the hand that sent it.
Fields§
§ending: HandOffEnding§source: HandOffSource§client: Option<u64>Trait Implementations§
Source§impl Clone for HandOffAnswer
impl Clone for HandOffAnswer
impl Copy for HandOffAnswer
Source§impl Debug for HandOffAnswer
impl Debug for HandOffAnswer
Source§impl<'de> Deserialize<'de> for HandOffAnswer
impl<'de> Deserialize<'de> for HandOffAnswer
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 HandOffAnswer
Source§impl PartialEq for HandOffAnswer
impl PartialEq for HandOffAnswer
Source§impl Serialize for HandOffAnswer
impl Serialize for HandOffAnswer
impl StructuralPartialEq for HandOffAnswer
Auto Trait Implementations§
impl Freeze for HandOffAnswer
impl RefUnwindSafe for HandOffAnswer
impl Send for HandOffAnswer
impl Sync for HandOffAnswer
impl Unpin for HandOffAnswer
impl UnsafeUnpin for HandOffAnswer
impl UnwindSafe for HandOffAnswer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.