pub struct GtsSpecification<T: AsRef<[u8]>> { /* private fields */ }Expand description
Guaranteed Time Slot specification.
Implementations§
Source§impl<T: AsRef<[u8]>> GtsSpecification<T>
impl<T: AsRef<[u8]>> GtsSpecification<T>
Sourcepub fn new_unchecked(buffer: T) -> Self
pub fn new_unchecked(buffer: T) -> Self
Create a new [#name] reader/writer from a given buffer without length checking.
Sourcepub fn descriptor_count(&self) -> u8
pub fn descriptor_count(&self) -> u8
GTS descriptor count.
Sourcepub fn gts_permit(&self) -> bool
pub fn gts_permit(&self) -> bool
GTS is permitted.
Source§impl<T: AsRef<[u8]>> GtsSpecification<T>
impl<T: AsRef<[u8]>> GtsSpecification<T>
Sourcepub fn slots(&self) -> GtsSlotIterator<'_> ⓘ
pub fn slots(&self) -> GtsSlotIterator<'_> ⓘ
Return a GtsSlotIterator.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for GtsSpecification<T>where
T: Freeze,
impl<T> RefUnwindSafe for GtsSpecification<T>where
T: RefUnwindSafe,
impl<T> Send for GtsSpecification<T>where
T: Send,
impl<T> Sync for GtsSpecification<T>where
T: Sync,
impl<T> Unpin for GtsSpecification<T>where
T: Unpin,
impl<T> UnwindSafe for GtsSpecification<T>where
T: UnwindSafe,
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