pub struct TDataNodeLocation {
pub data_node_id: i32,
pub client_rpc_end_point: TEndPoint,
pub internal_end_point: TEndPoint,
pub m_p_p_data_exchange_end_point: TEndPoint,
pub data_region_consensus_end_point: TEndPoint,
pub schema_region_consensus_end_point: TEndPoint,
}
Fields§
§data_node_id: i32
§client_rpc_end_point: TEndPoint
§internal_end_point: TEndPoint
§m_p_p_data_exchange_end_point: TEndPoint
§data_region_consensus_end_point: TEndPoint
§schema_region_consensus_end_point: TEndPoint
Implementations§
Source§impl TDataNodeLocation
impl TDataNodeLocation
pub fn new( data_node_id: i32, client_rpc_end_point: TEndPoint, internal_end_point: TEndPoint, m_p_p_data_exchange_end_point: TEndPoint, data_region_consensus_end_point: TEndPoint, schema_region_consensus_end_point: TEndPoint, ) -> TDataNodeLocation
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TDataNodeLocation>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TDataNodeLocation
impl Clone for TDataNodeLocation
Source§fn clone(&self) -> TDataNodeLocation
fn clone(&self) -> TDataNodeLocation
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 TDataNodeLocation
impl Debug for TDataNodeLocation
Source§impl Hash for TDataNodeLocation
impl Hash for TDataNodeLocation
Source§impl Ord for TDataNodeLocation
impl Ord for TDataNodeLocation
Source§fn cmp(&self, other: &TDataNodeLocation) -> Ordering
fn cmp(&self, other: &TDataNodeLocation) -> 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 TDataNodeLocation
impl PartialEq for TDataNodeLocation
Source§impl PartialOrd for TDataNodeLocation
impl PartialOrd for TDataNodeLocation
impl Eq for TDataNodeLocation
impl StructuralPartialEq for TDataNodeLocation
Auto Trait Implementations§
impl Freeze for TDataNodeLocation
impl RefUnwindSafe for TDataNodeLocation
impl Send for TDataNodeLocation
impl Sync for TDataNodeLocation
impl Unpin for TDataNodeLocation
impl UnwindSafe for TDataNodeLocation
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