[][src]Struct rustable::gatt::RemoteChar

pub struct RemoteChar<'a, 'b, 'c> { /* fields omitted */ }

Implementations

impl<'a, 'b, 'c> RemoteChar<'a, 'b, 'c>[src]

pub fn acquire_notify<'sel>(&'sel mut self) -> Result<RawFd, Error>[src]

pub fn try_get_notify(&self) -> Result<Option<([u8; 255], usize)>, Error>[src]

pub fn wait_get_notify(
    &self,
    timeout: Option<Duration>
) -> Result<Option<([u8; 255], usize)>, Error>
[src]

pub fn get_notify_fd(&self) -> Option<RawFd>[src]

Trait Implementations

impl<'_, '_, '_> Characteristic for RemoteChar<'_, '_, '_>[src]

fn read(&mut self) -> Result<([u8; 512], usize), Error>[src]

Reads a value from the remote device's characteristic.

Auto Trait Implementations

impl<'a, 'b, 'c> !RefUnwindSafe for RemoteChar<'a, 'b, 'c>

impl<'a, 'b, 'c> !Send for RemoteChar<'a, 'b, 'c>

impl<'a, 'b, 'c> !Sync for RemoteChar<'a, 'b, 'c>

impl<'a, 'b, 'c> Unpin for RemoteChar<'a, 'b, 'c> where
    'b: 'a,
    'c: 'a, 

impl<'a, 'b, 'c> !UnwindSafe for RemoteChar<'a, 'b, 'c>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.