Struct bluer::rfcomm::ConnectRequest
source · [−]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
sourceimpl ConnectRequest
impl ConnectRequest
sourcepub fn closed(&self) -> impl Future<Output = ()>
pub fn closed(&self) -> impl Future<Output = ()>
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.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ConnectRequest
impl Send for ConnectRequest
impl Sync for ConnectRequest
impl Unpin for ConnectRequest
impl !UnwindSafe for ConnectRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more