[−][src]Struct rustable::gatt::RemoteChar
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]
&self,
timeout: Option<Duration>
) -> Result<Option<([u8; 255], usize)>, Error>
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.
fn read_cached(&mut self) -> Result<([u8; 512], usize), Error>
[src]
fn write(&mut self, _val: &[u8]) -> Result<(), Error>
[src]
fn uuid(&self) -> &str
[src]
fn write_acquired(&self) -> bool
[src]
fn notify_acquired(&self) -> bool
[src]
fn notifying(&self) -> bool
[src]
fn flags(&self) -> CharFlags
[src]
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,
'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]
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,
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.
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>,