pub enum TConsensusGroupType {
ConfigRegion = 0,
DataRegion = 1,
SchemaRegion = 2,
}
Variants§
Implementations§
Source§impl TConsensusGroupType
impl TConsensusGroupType
pub fn write_to_out_protocol( self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TConsensusGroupType>
Trait Implementations§
Source§impl Clone for TConsensusGroupType
impl Clone for TConsensusGroupType
Source§fn clone(&self) -> TConsensusGroupType
fn clone(&self) -> TConsensusGroupType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TConsensusGroupType
impl Debug for TConsensusGroupType
Source§impl Hash for TConsensusGroupType
impl Hash for TConsensusGroupType
Source§impl Ord for TConsensusGroupType
impl Ord for TConsensusGroupType
Source§fn cmp(&self, other: &TConsensusGroupType) -> Ordering
fn cmp(&self, other: &TConsensusGroupType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TConsensusGroupType
impl PartialEq for TConsensusGroupType
Source§impl PartialOrd for TConsensusGroupType
impl PartialOrd for TConsensusGroupType
Source§impl TryFrom<i32> for TConsensusGroupType
impl TryFrom<i32> for TConsensusGroupType
impl Copy for TConsensusGroupType
impl Eq for TConsensusGroupType
impl StructuralPartialEq for TConsensusGroupType
Auto Trait Implementations§
impl Freeze for TConsensusGroupType
impl RefUnwindSafe for TConsensusGroupType
impl Send for TConsensusGroupType
impl Sync for TConsensusGroupType
impl Unpin for TConsensusGroupType
impl UnwindSafe for TConsensusGroupType
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