pub struct TrailerIndex(/* private fields */);Expand description
Zero-based trailer number embedded in a multi-trailer name.
SCS SDK 1.14 defines ten numbered trailer configurations and channel
namespaces, trailer.0 through trailer.9. Construction validates that
fixed header boundary once, so framework APIs accepting this type do not
repeat range checks or expose an invalid trailer identity.
Implementations§
Trait Implementations§
Source§impl Clone for TrailerIndex
impl Clone for TrailerIndex
Source§fn clone(&self) -> TrailerIndex
fn clone(&self) -> TrailerIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrailerIndex
Source§impl Debug for TrailerIndex
impl Debug for TrailerIndex
Source§impl Display for TrailerIndex
impl Display for TrailerIndex
impl Eq for TrailerIndex
Source§impl Hash for TrailerIndex
impl Hash for TrailerIndex
Source§impl Ord for TrailerIndex
impl Ord for TrailerIndex
Source§fn cmp(&self, other: &TrailerIndex) -> Ordering
fn cmp(&self, other: &TrailerIndex) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TrailerIndex
impl PartialEq for TrailerIndex
Source§impl PartialOrd for TrailerIndex
impl PartialOrd for TrailerIndex
impl StructuralPartialEq for TrailerIndex
Auto Trait Implementations§
impl Freeze for TrailerIndex
impl RefUnwindSafe for TrailerIndex
impl Send for TrailerIndex
impl Sync for TrailerIndex
impl Unpin for TrailerIndex
impl UnsafeUnpin for TrailerIndex
impl UnwindSafe for TrailerIndex
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