[−][src]Struct rustable::RemoteDevice
Implementations
impl RemoteDevice<'_>
[src]
pub fn connected(&self) -> bool
[src]
pub fn connect(&mut self) -> Result<(), Error>
[src]
pub fn paired(&self) -> bool
[src]
pub fn pair(&mut self) -> Result<(), Error>
[src]
pub fn forget_service(&mut self, uuid: &UUID) -> bool
[src]
Trait Implementations
impl<'a, 'c: 'a> Device<'a> for RemoteDevice<'c>
[src]
type ServiceType = RemoteService<'a, 'c>
pub fn services(&mut self) -> Vec<UUID>
[src]
pub fn get_service(&'a mut self, uuid: &UUID) -> Option<Self::ServiceType>
[src]
pub fn has_service(&self, uuid: &UUID) -> bool
[src]
pub fn address(&self) -> &MAC
[src]
pub fn address_type(&mut self) -> AddrType
[src]
pub fn name(&mut self) -> String
[src]
impl<'a, 'b: 'a> HasChildren<'a> for RemoteDevice<'b>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RemoteDevice<'a>
[src]
impl<'a> !Send for RemoteDevice<'a>
[src]
impl<'a> !Sync for RemoteDevice<'a>
[src]
impl<'a> Unpin for RemoteDevice<'a>
[src]
impl<'a> !UnwindSafe for RemoteDevice<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,