pub struct VolumeFlags { /* private fields */ }
Expand description
Volume Flags characteristic See VCS v1.0 Section 3.3
Trait Implementations§
Source§impl Clone for VolumeFlags
impl Clone for VolumeFlags
Source§fn clone(&self) -> VolumeFlags
fn clone(&self) -> VolumeFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VolumeFlags
impl Debug for VolumeFlags
Source§impl FromCharacteristic for VolumeFlags
impl FromCharacteristic for VolumeFlags
const UUID: Uuid
Source§fn from_chr(characteristic: Characteristic, value: &[u8]) -> Result<Self, Error>
fn from_chr(characteristic: Characteristic, value: &[u8]) -> Result<Self, Error>
Create this type from a Characteristic and an initial value.
Source§fn update(&mut self, new_value: &[u8]) -> Result<&mut Self, Error>
fn update(&mut self, new_value: &[u8]) -> Result<&mut Self, Error>
Attempt to update the type when supplied with the
new_value
, which may
or may not be the complete value.Source§fn try_read<T>(
characteristic: Characteristic,
service: &<T as GattTypes>::PeerService,
) -> impl Future<Output = Result<Self, Error>>where
T: GattTypes,
fn try_read<T>(
characteristic: Characteristic,
service: &<T as GattTypes>::PeerService,
) -> impl Future<Output = Result<Self, Error>>where
T: GattTypes,
Attempt to read a characteristic if it matches the provided
characteristic UUID.
Auto Trait Implementations§
impl Freeze for VolumeFlags
impl RefUnwindSafe for VolumeFlags
impl Send for VolumeFlags
impl Sync for VolumeFlags
impl Unpin for VolumeFlags
impl UnwindSafe for VolumeFlags
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