Struct splinter::protos::circuit::CircuitMessage   [−][src]
pub struct CircuitMessage {
    pub message_type: CircuitMessageType,
    pub payload: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}Expand description
Generated files are compatible only with the same version of protobuf runtime.
Fields
message_type: CircuitMessageTypepayload: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSizeImplementations
Trait Implementations
Returns the “default value” for a type. Read more
Returns the “default value” for a type. Read more
True iff all required fields are initialized.
Always returns true for protobuf 3. Read more
Update this message object with fields read from given stream.
Compute and cache size of this message and all nested messages
Write message to the stream. Read more
Get size previously computed by compute_size.
Get a reference to unknown fields.
Get a mutable reference to unknown fields.
View self as mutable Any.
Message descriptor for this message, used for reflection.
Create an empty message object. Read more
Get message descriptor for message type. Read more
Return a pointer to default immutable message with static lifetime. Read more
Parse message from stream.
Write the message to the stream. Read more
fn write_length_delimited_to(
    &self, 
    os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
fn write_length_delimited_to(
    &self, 
    os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
Write the message to the stream prepending the message with message length encoded as varint. Read more
fn write_length_delimited_to_vec(
    &self, 
    vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
    &self, 
    vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
Write the message to the vec, prepend the message with message length encoded as varint. Read more
Update this message object with fields read from given stream.
Parse message from reader. Parse stops on EOF or when error encountered. Read more
Parse message from byte array.
Check if all required fields of this object are initialized.
Write the message to the writer.
Write the message to bytes vec.
Write the message to bytes vec.
Write the message to the writer, prepend the message with message length encoded as varint. Read more
Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CircuitMessage
impl Send for CircuitMessage
impl Sync for CircuitMessage
impl Unpin for CircuitMessage
impl UnwindSafe for CircuitMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
Converts the given bytes into the target type Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Convert self to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
Convert &self to an expression for Diesel’s query builder. Read more
type Output = T
type Output = T
Should always be Self