pub struct Hello {
pub protocol_version: u32,
pub devtools_version: String,
pub kind: PeerKind,
pub auth_token: String,
pub take_over: bool,
}Expand description
First message sent by either side after the WebSocket opens. The target
validates auth_token against its random session token before accepting
any further frame.
Fields§
§protocol_version: u32§devtools_version: String§kind: PeerKind§auth_token: String§take_over: boolAsk the target to end its active DevTools session in favour of this
client. Without it a second client receives ErrorCode::SessionBusy.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hello
impl<'de> Deserialize<'de> for Hello
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 Hello
impl StructuralPartialEq for Hello
Auto Trait Implementations§
impl Forget for Hello
impl Freeze for Hello
impl RefUnwindSafe for Hello
impl Send for Hello
impl Sync for Hello
impl Unpin for Hello
impl UnsafeUnpin for Hello
impl UnwindSafe for Hello
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