pub struct ConnectRequest { /* private fields */ }
Available on crate features rfcomm and bluetoothd only.
Expand description

A request to connect to this profile, either as client or server.

The new service level connection has been made and authorized.

Implementations

Device address.

Profile version.

Profile features.

Returns a future that resolves when the profile gets disconnected.

The file descriptor is no longer owned by the service daemon and the profile implementation needs to take care of cleaning up all connections.

Accept the connection request and establish an RFCOMM connection.

Reject the connection request.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.