Struct ratman_netmod::SeqData[][src]

pub struct SeqData {
    pub num: u32,
    pub sig: XxSignature,
    pub seqid: SeqId,
    pub next: Option<u64>,
}

Encoded signature information related to a data sequence

When a large chunk of data is split across a Frame set, signature hashes are used to verify data integrity, as well as sequence ordering. The “Sequence ID” itself can be used to re-order frames received out of order, as well as verifying that a Frame was transmitted without error.

Check the crate documentation for more details.

Fields

num: u32

Frame number in sequence

sig: XxSignature

A hash signature of the payload

seqid: SeqId

Global frame sequence ID

next: Option<u64>

Next sequenced Frame SIG

Trait Implementations

impl Clone for SeqData[src]

impl Debug for SeqData[src]

impl<'de> Deserialize<'de> for SeqData[src]

impl PartialEq<SeqData> for SeqData[src]

impl Serialize for SeqData[src]

impl StructuralPartialEq for SeqData[src]

Auto Trait Implementations

impl RefUnwindSafe for SeqData

impl Send for SeqData

impl Sync for SeqData

impl Unpin for SeqData

impl UnwindSafe for SeqData

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,