pub enum EmissionSupport {
Typed,
PreserveOnly,
}Expand description
Whether application code can construct a message without supplying raw wire bytes.
Variants§
Typed
A typed encoder is available.
PreserveOnly
Bytes can be forwarded explicitly through KnownOpaque, but there is
no typed constructor and runtime code must not synthesize the message.
Trait Implementations§
Source§impl Clone for EmissionSupport
impl Clone for EmissionSupport
Source§fn clone(&self) -> EmissionSupport
fn clone(&self) -> EmissionSupport
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 moreimpl Copy for EmissionSupport
Source§impl Debug for EmissionSupport
impl Debug for EmissionSupport
impl Eq for EmissionSupport
Source§impl Hash for EmissionSupport
impl Hash for EmissionSupport
Source§impl PartialEq for EmissionSupport
impl PartialEq for EmissionSupport
impl StructuralPartialEq for EmissionSupport
Auto Trait Implementations§
impl Freeze for EmissionSupport
impl RefUnwindSafe for EmissionSupport
impl Send for EmissionSupport
impl Sync for EmissionSupport
impl Unpin for EmissionSupport
impl UnsafeUnpin for EmissionSupport
impl UnwindSafe for EmissionSupport
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