#[repr(u16)]pub enum DataType {
Raw = 1,
SizedData = 2,
BinaryInfoListZeroTerminated = 3,
Bson = 4,
IdAndInt = 5,
IdAndString = 6,
BlockDevice = 7,
PinsWithFunction = 8,
PinsWithName = 9,
PinsWithNames = 10,
}
Expand description
This is the set of data types that picotool
supports.
Variants§
Raw = 1
Raw data
SizedData = 2
Data with a size
BinaryInfoListZeroTerminated = 3
A list of binary data
Bson = 4
A BSON encoded blob
IdAndInt = 5
An Integer with an ID
IdAndString = 6
A string with an Id
BlockDevice = 7
A block device
PinsWithFunction = 8
GPIO pins, with their function
PinsWithName = 9
GPIO pins, with their name
PinsWithNames = 10
GPIO pins, with multiple names?
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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