#[repr(u8)]pub enum ProtoFmtType {
Protobuf = 0,
Json = 1,
}Expand description
协议格式类型
Variants§
Trait Implementations§
Source§impl Clone for ProtoFmtType
impl Clone for ProtoFmtType
Source§fn clone(&self) -> ProtoFmtType
fn clone(&self) -> ProtoFmtType
Returns a duplicate of the value. Read more
1.0.0 · 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 ProtoFmtType
impl Debug for ProtoFmtType
Source§impl PartialEq for ProtoFmtType
impl PartialEq for ProtoFmtType
Source§impl TryFrom<u8> for ProtoFmtType
impl TryFrom<u8> for ProtoFmtType
impl Copy for ProtoFmtType
impl Eq for ProtoFmtType
impl StructuralPartialEq for ProtoFmtType
Auto Trait Implementations§
impl Freeze for ProtoFmtType
impl RefUnwindSafe for ProtoFmtType
impl Send for ProtoFmtType
impl Sync for ProtoFmtType
impl Unpin for ProtoFmtType
impl UnwindSafe for ProtoFmtType
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