Struct blurz::bluetooth_session::BluetoothSession
source · pub struct BluetoothSession { /* private fields */ }
Implementations
sourceimpl BluetoothSession
impl BluetoothSession
pub fn create_session(
path: Option<&str>
) -> Result<BluetoothSession, Box<dyn Error>>
pub fn get_connection(&self) -> &Connection
pub fn incoming(&self, timeout_ms: u32) -> ConnMsgs<&Connection>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BluetoothSession
impl !Send for BluetoothSession
impl !Sync for BluetoothSession
impl Unpin for BluetoothSession
impl !UnwindSafe for BluetoothSession
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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