pub struct TEndPoint {
pub ip: String,
pub port: i32,
}
Fields§
§ip: String
§port: i32
Implementations§
Source§impl TEndPoint
impl TEndPoint
pub fn new(ip: String, port: i32) -> TEndPoint
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TEndPoint>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Ord for TEndPoint
impl Ord for TEndPoint
Source§impl PartialOrd for TEndPoint
impl PartialOrd for TEndPoint
impl Eq for TEndPoint
impl StructuralPartialEq for TEndPoint
Auto Trait Implementations§
impl Freeze for TEndPoint
impl RefUnwindSafe for TEndPoint
impl Send for TEndPoint
impl Sync for TEndPoint
impl Unpin for TEndPoint
impl UnwindSafe for TEndPoint
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