pub enum ReplyTypeObject {
Minimal(MinimalTypeObject),
Complete(CompleteTypeObject),
}Expand description
Ein getTypes-Reply-Item: ein TypeObject (Minimal oder Complete).
Der Kind wird im ersten Byte der serialisierten Form diskriminiert
(siehe crate::type_object::TypeObject).
Variant-Size wie crate::type_object::TypeObject — Boxing der
Complete-Variante waere Mikro-Optimierung mit Refactor-Pflicht
auf vielen Callsites; ReplyTypeObject lebt im TypeLookup-Reply-
Pfad, nicht auf dem Sample-Hot-Path.
Variants§
Trait Implementations§
Source§impl Clone for ReplyTypeObject
impl Clone for ReplyTypeObject
Source§fn clone(&self) -> ReplyTypeObject
fn clone(&self) -> ReplyTypeObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplyTypeObject
impl Debug for ReplyTypeObject
Source§impl PartialEq for ReplyTypeObject
impl PartialEq for ReplyTypeObject
Source§fn eq(&self, other: &ReplyTypeObject) -> bool
fn eq(&self, other: &ReplyTypeObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReplyTypeObject
impl StructuralPartialEq for ReplyTypeObject
Auto Trait Implementations§
impl Freeze for ReplyTypeObject
impl RefUnwindSafe for ReplyTypeObject
impl Send for ReplyTypeObject
impl Sync for ReplyTypeObject
impl Unpin for ReplyTypeObject
impl UnsafeUnpin for ReplyTypeObject
impl UnwindSafe for ReplyTypeObject
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