#[non_exhaustive]pub enum EncodableImpls {
Outputs,
AllMessages,
}Expand description
Which messages get generated ::connectrpc::Encodable view impl
pairs. See Options::encodable_impls.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Outputs
Emit the impl pair only for the RPC output types of the targeted protos’ services (the default).
AllMessages
Emit the impl pair for every message defined in each targeted proto, including protos that declare no services.
Trait Implementations§
Source§impl Clone for EncodableImpls
impl Clone for EncodableImpls
Source§fn clone(&self) -> EncodableImpls
fn clone(&self) -> EncodableImpls
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 EncodableImpls
Source§impl Debug for EncodableImpls
impl Debug for EncodableImpls
Source§impl Default for EncodableImpls
impl Default for EncodableImpls
Source§fn default() -> EncodableImpls
fn default() -> EncodableImpls
Returns the “default value” for a type. Read more
impl Eq for EncodableImpls
Source§impl PartialEq for EncodableImpls
impl PartialEq for EncodableImpls
Source§fn eq(&self, other: &EncodableImpls) -> bool
fn eq(&self, other: &EncodableImpls) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EncodableImpls
Auto Trait Implementations§
impl Freeze for EncodableImpls
impl RefUnwindSafe for EncodableImpls
impl Send for EncodableImpls
impl Sync for EncodableImpls
impl Unpin for EncodableImpls
impl UnsafeUnpin for EncodableImpls
impl UnwindSafe for EncodableImpls
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