pub struct Proto3;Expand description
proto3.
Trait Implementations§
impl Copy for Proto3
Source§impl Encoding for Proto3
impl Encoding for Proto3
Source§const NAME: &'static str = "proto3"
const NAME: &'static str = "proto3"
The encoding’s name, spelled as its cargo feature is spelled.
Source§fn max_size(sizes: &EncodedSizes) -> Option<u32>
fn max_size(sizes: &EncodedSizes) -> Option<u32>
This encoding’s field of
sizes: a payload’s largest encoded size in
this encoding, or None when the toolchain cannot size it
(EncodedSizes). Read moreimpl Eq for Proto3
impl StructuralPartialEq for Proto3
Auto Trait Implementations§
impl Freeze for Proto3
impl RefUnwindSafe for Proto3
impl Send for Proto3
impl Sync for Proto3
impl Unpin for Proto3
impl UnsafeUnpin for Proto3
impl UnwindSafe for Proto3
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