pub enum AnyValue {
Show 19 variants
Null,
Boolean(bool),
Octet(u8),
Char(u8),
Short(i16),
UShort(u16),
Long(i32),
ULong(u32),
LongLong(i64),
ULongLong(u64),
Float(f32),
Double(f64),
WChar(u16),
Str(String),
WStr(WString),
Seq {
element: TypeCode,
items: Vec<AnyValue>,
},
Struct {
repo_id: String,
name: String,
members: Vec<(String, AnyValue)>,
},
Enum {
repo_id: String,
name: String,
value: u32,
members: Vec<String>,
},
Any(Box<CorbaAny>),
}Expand description
Variants§
Null
tk_null.
Boolean(bool)
tk_boolean.
Octet(u8)
tk_octet.
Char(u8)
tk_char.
Short(i16)
tk_short.
UShort(u16)
tk_ushort.
Long(i32)
tk_long.
ULong(u32)
tk_ulong.
LongLong(i64)
tk_longlong.
ULongLong(u64)
tk_ulonglong.
Float(f32)
tk_float.
Double(f64)
tk_double.
WChar(u16)
tk_wchar.
Str(String)
tk_string.
WStr(WString)
tk_wstring.
Seq
tk_sequence: element TypeCode (needed even for an empty sequence) + items.
Struct
tk_struct: RepositoryId + name + ordered (member_name, value).
Fields
Enum
tk_enum: RepositoryId + name + ordinal value + enumerator names.
Fields
Any(Box<CorbaAny>)
tk_any: nested any.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AnyValue
Auto Trait Implementations§
impl Freeze for AnyValue
impl RefUnwindSafe for AnyValue
impl Send for AnyValue
impl Sync for AnyValue
impl Unpin for AnyValue
impl UnsafeUnpin for AnyValue
impl UnwindSafe for AnyValue
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