pub struct WorkerNetAddress {
pub host: String,
pub rpc_port: i32,
pub data_port: i32,
pub web_port: i32,
}
Expand description
WorkerNetAddress represents a worker’s net address.
Fields§
§host: String
Host is the hostname.
rpc_port: i32
RPCPort is the RPC port.
data_port: i32
DataPort is the data port.
web_port: i32
WebPort is the web port.
Trait Implementations§
Source§impl Debug for WorkerNetAddress
impl Debug for WorkerNetAddress
Source§impl<'de> Deserialize<'de> for WorkerNetAddress
impl<'de> Deserialize<'de> for WorkerNetAddress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorkerNetAddress
impl RefUnwindSafe for WorkerNetAddress
impl Send for WorkerNetAddress
impl Sync for WorkerNetAddress
impl Unpin for WorkerNetAddress
impl UnwindSafe for WorkerNetAddress
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