pub enum Value<OutOfLine = Forbid> {
Show 22 variants
Null,
Bool(bool),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
String(String),
Object(Vec<(String, Self)>),
Bits(String, Box<Self>),
Enum(String, Box<Self>),
Union(String, String, Box<Self>),
List(Vec<Self>),
ServerEnd(Channel, String, Option<Rights>),
ClientEnd(Channel, String, Option<Rights>),
Handle(NullableHandle, ObjType, Option<Rights>),
OutOfLine(OutOfLine),
}Expand description
Our internal neutral form for FIDL values.
Variants§
Null
Bool(bool)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
String(String)
Object(Vec<(String, Self)>)
Bits(String, Box<Self>)
Enum(String, Box<Self>)
Union(String, String, Box<Self>)
List(Vec<Self>)
ServerEnd(Channel, String, Option<Rights>)
ClientEnd(Channel, String, Option<Rights>)
Handle(NullableHandle, ObjType, Option<Rights>)
OutOfLine(OutOfLine)
Implementations§
Trait Implementations§
Source§impl<A> FromIterator<A> for Value
impl<A> FromIterator<A> for Value
Auto Trait Implementations§
impl<OutOfLine> Freeze for Value<OutOfLine>
impl<OutOfLine> RefUnwindSafe for Value<OutOfLine>where
Vec<(String, Value<OutOfLine>)>: RefUnwindSafe,
Box<Value<OutOfLine>>: RefUnwindSafe,
Vec<Value<OutOfLine>>: RefUnwindSafe,
OutOfLine: RefUnwindSafe,
impl<OutOfLine> Send for Value<OutOfLine>
impl<OutOfLine> Sync for Value<OutOfLine>
impl<OutOfLine> Unpin for Value<OutOfLine>
impl<OutOfLine> UnsafeUnpin for Value<OutOfLine>where
Vec<(String, Value<OutOfLine>)>: UnsafeUnpin,
Box<Value<OutOfLine>>: UnsafeUnpin,
Vec<Value<OutOfLine>>: UnsafeUnpin,
OutOfLine: UnsafeUnpin,
impl<OutOfLine> UnwindSafe for Value<OutOfLine>where
Vec<(String, Value<OutOfLine>)>: UnwindSafe,
Box<Value<OutOfLine>>: UnwindSafe,
Vec<Value<OutOfLine>>: UnwindSafe,
OutOfLine: UnwindSafe,
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