pub struct Wspr50Message;Trait Implementations§
Source§impl Clone for Wspr50Message
impl Clone for Wspr50Message
Source§fn clone(&self) -> Wspr50Message
fn clone(&self) -> Wspr50Message
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Wspr50Message
impl Debug for Wspr50Message
Source§impl Default for Wspr50Message
impl Default for Wspr50Message
Source§fn default() -> Wspr50Message
fn default() -> Wspr50Message
Returns the “default value” for a type. Read more
Source§impl MessageCodec for Wspr50Message
impl MessageCodec for Wspr50Message
Source§const PAYLOAD_BITS: u32 = 50
const PAYLOAD_BITS: u32 = 50
Number of information bits consumed by
pack / produced by unpack.Source§const CRC_BITS: u32 = 0
const CRC_BITS: u32 = 0
CRC width guarding the payload during transmission (0 if the FEC itself
provides all error detection, as with JT65 Reed–Solomon).
Source§type Unpacked = WsprMessage
type Unpacked = WsprMessage
Decoded high-level representation returned by
unpack.Source§fn pack(&self, fields: &MessageFields) -> Option<Vec<u8>>
fn pack(&self, fields: &MessageFields) -> Option<Vec<u8>>
Encode high-level fields to a bit vector of length
PAYLOAD_BITS.
Returns None on encoding failure (invalid callsign format, overflow…).impl Copy for Wspr50Message
Auto Trait Implementations§
impl Freeze for Wspr50Message
impl RefUnwindSafe for Wspr50Message
impl Send for Wspr50Message
impl Sync for Wspr50Message
impl Unpin for Wspr50Message
impl UnsafeUnpin for Wspr50Message
impl UnwindSafe for Wspr50Message
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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