[−]Struct orga::abci::messages::RequestBeginBlock
Fields
hash: Vec<u8>
header: SingularPtrField<Header>
last_commit_info: SingularPtrField<LastCommitInfo>
byzantine_validators: RepeatedField<Evidence>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl RequestBeginBlock
pub fn new() -> RequestBeginBlock
pub fn get_hash(&self) -> &[u8]
pub fn clear_hash(&mut self)
pub fn set_hash(&mut self, v: Vec<u8>)
pub fn mut_hash(&mut self) -> &mut Vec<u8>
pub fn take_hash(&mut self) -> Vec<u8>
pub fn get_header(&self) -> &Header
pub fn clear_header(&mut self)
pub fn has_header(&self) -> bool
pub fn set_header(&mut self, v: Header)
pub fn mut_header(&mut self) -> &mut Header
pub fn take_header(&mut self) -> Header
pub fn get_last_commit_info(&self) -> &LastCommitInfo
pub fn clear_last_commit_info(&mut self)
pub fn has_last_commit_info(&self) -> bool
pub fn set_last_commit_info(&mut self, v: LastCommitInfo)
pub fn mut_last_commit_info(&mut self) -> &mut LastCommitInfo
pub fn take_last_commit_info(&mut self) -> LastCommitInfo
pub fn get_byzantine_validators(&self) -> &[Evidence]
pub fn clear_byzantine_validators(&mut self)
pub fn set_byzantine_validators(&mut self, v: RepeatedField<Evidence>)
pub fn mut_byzantine_validators(&mut self) -> &mut RepeatedField<Evidence>
pub fn take_byzantine_validators(&mut self) -> RepeatedField<Evidence>
Trait Implementations
impl Clear for RequestBeginBlock
fn clear(&mut self)
impl Clone for RequestBeginBlock
fn clone(&self) -> RequestBeginBlock
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RequestBeginBlock
impl<'a> Default for &'a RequestBeginBlock
fn default() -> &'a RequestBeginBlock
impl Default for RequestBeginBlock
fn default() -> RequestBeginBlock
impl Message for RequestBeginBlock
fn is_initialized(&self) -> bool
fn merge_from(
&mut self,
is: &mut CodedInputStream<'_>
) -> Result<(), ProtobufError>
&mut self,
is: &mut CodedInputStream<'_>
) -> Result<(), ProtobufError>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn into_any(self: Box<RequestBeginBlock>) -> Box<dyn Any + 'static>
fn descriptor(&self) -> &'static MessageDescriptor
fn new() -> RequestBeginBlock
fn descriptor_static() -> &'static MessageDescriptor
fn default_instance() -> &'static RequestBeginBlock
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
impl PartialEq<RequestBeginBlock> for RequestBeginBlock
fn eq(&self, other: &RequestBeginBlock) -> bool
fn ne(&self, other: &RequestBeginBlock) -> bool
impl ProtobufValue for RequestBeginBlock
fn as_ref(&self) -> ProtobufValueRef<'_>
fn as_any(&self) -> &(dyn Any + 'static)
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
Auto Trait Implementations
impl RefUnwindSafe for RequestBeginBlock
impl Send for RequestBeginBlock
impl Sync for RequestBeginBlock
impl Terminated for RequestBeginBlock
impl Unpin for RequestBeginBlock
impl UnwindSafe for RequestBeginBlock
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> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,