pub struct RaptorQPacketRecord {
pub source_block_number: u8,
pub encoding_symbol_id: u32,
pub is_source: bool,
pub serialized_hex: String,
pub symbol_hash: String,
}Fields§
§source_block_number: u8§encoding_symbol_id: u32§is_source: bool§serialized_hex: String§symbol_hash: StringTrait Implementations§
Source§impl Clone for RaptorQPacketRecord
impl Clone for RaptorQPacketRecord
Source§impl Debug for RaptorQPacketRecord
impl Debug for RaptorQPacketRecord
Source§impl<'de> Deserialize<'de> for RaptorQPacketRecord
impl<'de> Deserialize<'de> for RaptorQPacketRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RaptorQPacketRecord
impl PartialEq for RaptorQPacketRecord
Source§impl Serialize for RaptorQPacketRecord
impl Serialize for RaptorQPacketRecord
impl StructuralPartialEq for RaptorQPacketRecord
Auto Trait Implementations§
impl Freeze for RaptorQPacketRecord
impl RefUnwindSafe for RaptorQPacketRecord
impl Send for RaptorQPacketRecord
impl Sync for RaptorQPacketRecord
impl Unpin for RaptorQPacketRecord
impl UnsafeUnpin for RaptorQPacketRecord
impl UnwindSafe for RaptorQPacketRecord
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more