[−][src]Struct splinter::protos::two_phase::TwoPhaseMessage
Generated files are compatible only with the same version of protobuf runtime.
Fields
message_type: TwoPhaseMessage_Typeproposal_id: Vec<u8>proposal_verification_response: TwoPhaseMessage_ProposalVerificationResponseproposal_result: TwoPhaseMessage_ProposalResultunknown_fields: UnknownFieldscached_size: CachedSizeImplementations
impl TwoPhaseMessage[src]
pub fn new() -> TwoPhaseMessage[src]
pub fn get_message_type(&self) -> TwoPhaseMessage_Type[src]
pub fn clear_message_type(&mut self)[src]
pub fn set_message_type(&mut self, v: TwoPhaseMessage_Type)[src]
pub fn get_proposal_id(&self) -> &[u8][src]
pub fn clear_proposal_id(&mut self)[src]
pub fn set_proposal_id(&mut self, v: Vec<u8>)[src]
pub fn mut_proposal_id(&mut self) -> &mut Vec<u8>[src]
pub fn take_proposal_id(&mut self) -> Vec<u8>[src]
pub fn get_proposal_verification_response(
&self
) -> TwoPhaseMessage_ProposalVerificationResponse[src]
&self
) -> TwoPhaseMessage_ProposalVerificationResponse
pub fn clear_proposal_verification_response(&mut self)[src]
pub fn set_proposal_verification_response(
&mut self,
v: TwoPhaseMessage_ProposalVerificationResponse
)[src]
&mut self,
v: TwoPhaseMessage_ProposalVerificationResponse
)
pub fn get_proposal_result(&self) -> TwoPhaseMessage_ProposalResult[src]
pub fn clear_proposal_result(&mut self)[src]
pub fn set_proposal_result(&mut self, v: TwoPhaseMessage_ProposalResult)[src]
Trait Implementations
impl Clear for TwoPhaseMessage[src]
impl Clone for TwoPhaseMessage[src]
fn clone(&self) -> TwoPhaseMessage[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TwoPhaseMessage[src]
impl Default for TwoPhaseMessage[src]
fn default() -> TwoPhaseMessage[src]
impl<'a> Default for &'a TwoPhaseMessage[src]
fn default() -> &'a TwoPhaseMessage[src]
impl Message for TwoPhaseMessage[src]
fn is_initialized(&self) -> bool[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn compute_size(&self) -> u32[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32[src]
fn get_unknown_fields(&self) -> &UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn as_any(&self) -> &dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn new() -> TwoPhaseMessage[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static TwoPhaseMessage[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
fn check_initialized(&self) -> Result<(), ProtobufError>[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn type_id(&self) -> TypeId[src]
impl PartialEq<TwoPhaseMessage> for TwoPhaseMessage[src]
fn eq(&self, other: &TwoPhaseMessage) -> bool[src]
fn ne(&self, other: &TwoPhaseMessage) -> bool[src]
impl ProtobufValue for TwoPhaseMessage[src]
fn as_ref(&self) -> ReflectValueRef[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>[src]
impl StructuralPartialEq for TwoPhaseMessage[src]
Auto Trait Implementations
impl RefUnwindSafe for TwoPhaseMessage
impl Send for TwoPhaseMessage
impl Sync for TwoPhaseMessage
impl Unpin for TwoPhaseMessage
impl UnwindSafe for TwoPhaseMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<M> FromMessageBytes for M where
M: Message, [src]
M: Message,
fn from_message_bytes(&[u8]) -> Result<M, DispatchError>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<P, N> IntoBytes<P> for N where
P: Message + FromNative<N>, [src]
P: Message + FromNative<N>,
fn into_bytes(Self) -> Result<Vec<u8>, ProtoConversionError>[src]
impl<N, P> IntoNative<N> for P where
N: FromProto<P>, [src]
N: FromProto<P>,
fn into_native(Self) -> Result<N, ProtoConversionError>[src]
impl<N, P> IntoProto<P> for N where
P: FromNative<N>, [src]
P: FromNative<N>,
fn into_proto(Self) -> Result<P, ProtoConversionError>[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,