Enum tea_sdk::vmh::message::structs_proto::p2p::errand_execution_request::Code
pub enum Code {
DeploymentCode(ErrandDeploymentCode),
AdhocCode(ErrandAdhocCode),
}
Variants§
DeploymentCode(ErrandDeploymentCode)
this is deployment code for the errand
AdhocCode(ErrandAdhocCode)
this is adhoc code for the errand
Implementations§
§impl Code
impl Code
pub fn merge<B>(
field: &mut Option<Code>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>( field: &mut Option<Code>, tag: u32, wire_type: WireType, buf: &mut B, ctx: DecodeContext ) -> Result<(), DecodeError>where B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
pub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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