#[repr(u8)]pub enum RpcType {
MsgType_Invalid = 0,
Req = 1,
Resp = 2,
Event = 3,
MsgType_Max = 4,
}
Expand description
See esp_hosted_rpc.proto
, enum by this name. And esp_hosted_rpc.pb-c.h
. (Maybe taken from there?)
We encode this as a varint.
Variants§
Trait Implementations§
Source§impl TryFromPrimitive for RpcType
impl TryFromPrimitive for RpcType
impl Copy for RpcType
impl StructuralPartialEq for RpcType
Auto Trait Implementations§
impl Freeze for RpcType
impl RefUnwindSafe for RpcType
impl Send for RpcType
impl Sync for RpcType
impl Unpin for RpcType
impl UnwindSafe for RpcType
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