pub struct ConnPoint {
pub ip: String,
pub port: u16,
pub region: u32,
pub desc: String,
pub backup_port: Option<u16>,
}Expand description
连接点信息
Fields§
§ip: String§port: u16§region: u32§desc: String§backup_port: Option<u16>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnPoint
impl RefUnwindSafe for ConnPoint
impl Send for ConnPoint
impl Sync for ConnPoint
impl Unpin for ConnPoint
impl UnsafeUnpin for ConnPoint
impl UnwindSafe for ConnPoint
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