pub struct ListenerEndpoint {
pub ip: String,
pub port: u16,
}Expand description
宿主已绑定 listener 的事实;代理映射地址由 registration 的 ip/port 显式覆盖。
Fields§
§ip: String对外可达地址;注册配置可显式覆盖宿主监听地址。
port: u16目标监听端口;注册配置省略时由 listener_ref 解析。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListenerEndpoint
impl RefUnwindSafe for ListenerEndpoint
impl Send for ListenerEndpoint
impl Sync for ListenerEndpoint
impl Unpin for ListenerEndpoint
impl UnsafeUnpin for ListenerEndpoint
impl UnwindSafe for ListenerEndpoint
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