pub enum BluetoothRfcommProfileAsync {
Bluez(ProfileHandle),
Dummy(Dummy),
}Expand description
A bluetooth profile for rfcomm channels
Variants§
Bluez(ProfileHandle)
The bluez library in linux is responsible for the profile
Dummy(Dummy)
A dummy handler
Trait Implementations§
Source§impl BluetoothRfcommProfileAsyncTrait for BluetoothRfcommProfileAsync
impl BluetoothRfcommProfileAsyncTrait for BluetoothRfcommProfileAsync
Source§async fn connectable(
&mut self,
) -> Result<BluetoothRfcommConnectableAsync, String>
async fn connectable( &mut self, ) -> Result<BluetoothRfcommConnectableAsync, String>
Get an object in order to accept a connection from or connect to a bluetooth peer
Source§impl From<Dummy> for BluetoothRfcommProfileAsync
impl From<Dummy> for BluetoothRfcommProfileAsync
Source§fn from(v: Dummy) -> BluetoothRfcommProfileAsync
fn from(v: Dummy) -> BluetoothRfcommProfileAsync
Converts to this type from the input type.
Source§impl From<ProfileHandle> for BluetoothRfcommProfileAsync
Available on Linux only.
impl From<ProfileHandle> for BluetoothRfcommProfileAsync
Available on Linux only.
Source§fn from(v: ProfileHandle) -> BluetoothRfcommProfileAsync
fn from(v: ProfileHandle) -> BluetoothRfcommProfileAsync
Converts to this type from the input type.
Source§impl TryInto<Dummy> for BluetoothRfcommProfileAsync
impl TryInto<Dummy> for BluetoothRfcommProfileAsync
Source§impl TryInto<ProfileHandle> for BluetoothRfcommProfileAsync
Available on Linux only.
impl TryInto<ProfileHandle> for BluetoothRfcommProfileAsync
Available on Linux only.
Auto Trait Implementations§
impl Freeze for BluetoothRfcommProfileAsync
impl !RefUnwindSafe for BluetoothRfcommProfileAsync
impl Send for BluetoothRfcommProfileAsync
impl Sync for BluetoothRfcommProfileAsync
impl Unpin for BluetoothRfcommProfileAsync
impl UnsafeUnpin for BluetoothRfcommProfileAsync
impl !UnwindSafe for BluetoothRfcommProfileAsync
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