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