Enum fluence_app_service::IValue
source · pub enum IValue {
}
Expand description
A WIT value.
Variants§
Boolean(bool)
Boolean value.
S8(i8)
A 8-bits signed integer.
S16(i16)
A 16-bits signed integer.
S32(i32)
A 32-bits signed integer.
S64(i64)
A 64-bits signed integer.
U8(u8)
A 8-bits unsigned integer.
U16(u16)
A 16-bits unsigned integer.
U32(u32)
A 32-bits unsigned integer.
U64(u64)
A 64-bits unsigned integer.
F32(f32)
A 32-bits float.
F64(f64)
A 64-bits float.
String(String)
A string.
ByteArray(Vec<u8>)
Specialization of array type for byte vector.
Array(Vec<IValue>)
A byte array.
I32(i32)
A 32-bits integer (as defined in WebAssembly core).
I64(i64)
A 64-bits integer (as defined in WebAssembly core).
Record(NEVec<IValue>)
A record.
Implementations§
Trait Implementations§
source§impl PartialEq for IValue
impl PartialEq for IValue
impl StructuralPartialEq for IValue
Auto Trait Implementations§
impl Freeze for IValue
impl RefUnwindSafe for IValue
impl Send for IValue
impl Sync for IValue
impl Unpin for IValue
impl UnwindSafe for IValue
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> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read moresource§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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