pub struct CorbaAny(pub AnyValue);Expand description
IDL any (§15.3.7): self-describing = TypeCode + Value. On the wire,
the value in its representation follows the full TypeCode (§15.3.5) —
wire-compatible with omniORB/TAO/JacORB, also for structured content
(sequence/struct/enum/nested any).
Tuple Fields§
§0: AnyValueTrait Implementations§
Source§impl CdrDecode for CorbaAny
impl CdrDecode for CorbaAny
Source§fn decode(r: &mut BufferReader<'_>) -> Result<Self, DecodeError>
fn decode(r: &mut BufferReader<'_>) -> Result<Self, DecodeError>
Reads this value from the reader (alignment-aware). Read more
Source§const IS_PRIMITIVE: bool = false
const IS_PRIMITIVE: bool = false
XCDR2 primitive classification, symmetric to
CdrEncode::IS_PRIMITIVE. Controls DHEADER reading when
decoding sequence<T>/T[N] with non-primitive T.Source§impl CdrEncode for CorbaAny
impl CdrEncode for CorbaAny
Source§fn encode(&self, w: &mut BufferWriter) -> Result<(), EncodeError>
fn encode(&self, w: &mut BufferWriter) -> Result<(), EncodeError>
Writes this value into the writer (alignment-aware). Read more
Source§const IS_PRIMITIVE: bool = false
const IS_PRIMITIVE: bool = false
XCDR2 primitive classification (OMG XTypes 1.3 §7.4.3.5):
true
only for primitives (bool, octet, int8/16/32/64, uint8/16/32/64,
float, double, char/wchar). false for aggregate/variable
types (string, struct, union, enum, sequence, array, map).
Controls DHEADER prepending for sequence<T>/T[N]:
collections with NON-primitive elements need a DHEADER (uint32 =
byte length of the following content) under XCDR2.impl StructuralPartialEq for CorbaAny
Auto Trait Implementations§
impl Freeze for CorbaAny
impl RefUnwindSafe for CorbaAny
impl Send for CorbaAny
impl Sync for CorbaAny
impl Unpin for CorbaAny
impl UnsafeUnpin for CorbaAny
impl UnwindSafe for CorbaAny
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