pub struct StaticTableEntry<S> { /* private fields */ }Expand description
One entry of a protocol’s static table of field names, classified for section S by static_table_entries.
An entry can only be made by static_table_entries, and a section accepts only entries made for it, so a decoder cannot pass one section’s classification to another. Its name is the table’s own, so it cannot disagree with the classification either.
Implementations§
Source§impl<S> StaticTableEntry<S>
impl<S> StaticTableEntry<S>
Sourcepub const fn classification(&self) -> Classification
pub const fn classification(&self) -> Classification
How the section relates to this entry’s name.
Trait Implementations§
Source§impl<S> Clone for StaticTableEntry<S>
impl<S> Clone for StaticTableEntry<S>
impl<S> Copy for StaticTableEntry<S>
Source§impl<S> Debug for StaticTableEntry<S>
impl<S> Debug for StaticTableEntry<S>
impl<S> Eq for StaticTableEntry<S>
Auto Trait Implementations§
impl<S> Forget for StaticTableEntry<S>
impl<S> Freeze for StaticTableEntry<S>
impl<S> RefUnwindSafe for StaticTableEntry<S>
impl<S> Send for StaticTableEntry<S>
impl<S> Sync for StaticTableEntry<S>
impl<S> Unpin for StaticTableEntry<S>
impl<S> UnsafeUnpin for StaticTableEntry<S>
impl<S> UnwindSafe for StaticTableEntry<S>
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