Enum futuresdr_types::PmtKind
source · #[non_exhaustive]pub enum PmtKind {
Show 17 variants
Ok,
InvalidValue,
Null,
String,
Bool,
Usize,
U32,
U64,
F32,
F64,
VecF32,
VecU64,
Blob,
VecPmt,
Finished,
MapStrPmt,
Any,
}
Expand description
PMT types that do not wrap values.
Usefull for bindings to other languages that do not support Rust’s broad enum features.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok
Ok
InvalidValue
Invalid value
Null
Null
String
String
Bool
Bool
Usize
Usize
U32
U32
U64
U64
F32
F32
F64
F64
VecF32
VecF32
VecU64
VecU64
Blob
Blob
VecPmt
Vec Pmt
Finished
Finished
MapStrPmt
Map String -> Pmt
Any
Any
Trait Implementations§
source§impl PartialEq for PmtKind
impl PartialEq for PmtKind
impl Eq for PmtKind
impl StructuralEq for PmtKind
impl StructuralPartialEq for PmtKind
Auto Trait Implementations§
impl RefUnwindSafe for PmtKind
impl Send for PmtKind
impl Sync for PmtKind
impl Unpin for PmtKind
impl UnwindSafe for PmtKind
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