Struct cdp::tethering::AcceptedEvent [] [src]

pub struct AcceptedEvent<'a> {
    pub port: i32,
    pub connection_id: Cow<'a, str>,
}

[Experimental] Informs that port was successfully bound and got a specified connection id.

Event Tethering.accepted

Domain Module: cdp::tethering
Event Struct: cdp::tethering::AcceptedEvent

Fields

Port number that was successfully bound.

Connection id to be used.

Trait Implementations

impl<'a> Clone for AcceptedEvent<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for AcceptedEvent<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for AcceptedEvent<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpEvent for AcceptedEvent<'a>
[src]

EVENT_NAME: &'static str = "Tethering.accepted"

impl<'a> SerializeCdpEvent for AcceptedEvent<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpEvent<'de> for AcceptedEvent<'a>
[src]

[src]