pub enum FfiValue {
Bool(bool),
UInt(u64),
Int(i64),
Float(f64),
Str(String),
Bytes(Vec<u8>),
Unit,
}Expand description
FFI values at runtime.
Variants§
Bool(bool)
Boolean value.
UInt(u64)
Unsigned integer (up to 64-bit).
Int(i64)
Signed integer (up to 64-bit).
Float(f64)
Floating point number.
Str(String)
String value.
Bytes(Vec<u8>)
Byte array.
Unit
Unit value.
Implementations§
Trait Implementations§
impl StructuralPartialEq for FfiValue
Auto Trait Implementations§
impl Freeze for FfiValue
impl RefUnwindSafe for FfiValue
impl Send for FfiValue
impl Sync for FfiValue
impl Unpin for FfiValue
impl UnsafeUnpin for FfiValue
impl UnwindSafe for FfiValue
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