pub struct BisSync(/* private fields */);
Expand description
4-octet bitfield. Bit 0-30 = BIS_index[1-31] 0x00000000: 0b0 = Do not synchronize to BIS_index[x] 0xxxxxxxxx: 0b1 = Synchronize to BIS_index[x] 0xFFFFFFFF: means No preference if used in BroadcastAudioScanControlPoint, Failed to sync if used in ReceiveState.
Implementations§
Source§impl BisSync
impl BisSync
Sourcepub fn synchronize_to_index(
&mut self,
bis_index: BisIndex,
) -> Result<(), PacketError>
pub fn synchronize_to_index( &mut self, bis_index: BisIndex, ) -> Result<(), PacketError>
Updates the specified BIS index to be synchronized. Doesn’t touch the synchronize value of other BIS indices.
§Arguments
bis_index
- BIS index as defined in the spec. Range should be [1, 31]. The specified BIS index will be set to synchronized (0b1).
Trait Implementations§
impl StructuralPartialEq for BisSync
Auto Trait Implementations§
impl Freeze for BisSync
impl RefUnwindSafe for BisSync
impl Send for BisSync
impl Sync for BisSync
impl Unpin for BisSync
impl UnwindSafe for BisSync
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