pub enum GenericMessageOwned {}
Expand description
The owned type for GenericMessageType
.
Uninhabited because we never decode full messages. We decode the header and body separately, as we usually we don’t know the body’s type until after we’ve decoded the header.
Trait Implementations§
Source§impl<H: ValueTypeMarker, T: TypeMarker, D: ResourceDialect> Decode<GenericMessageType<H, T>, D> for GenericMessageOwned
impl<H: ValueTypeMarker, T: TypeMarker, D: ResourceDialect> Decode<GenericMessageType<H, T>, D> for GenericMessageOwned
Auto Trait Implementations§
impl Freeze for GenericMessageOwned
impl RefUnwindSafe for GenericMessageOwned
impl Send for GenericMessageOwned
impl Sync for GenericMessageOwned
impl Unpin for GenericMessageOwned
impl UnwindSafe for GenericMessageOwned
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