pub struct PvaConfig {
pub tcp_port: u16,
pub udp_port: u16,
}Expand description
PVA retrieval RPC server configuration.
Fields§
§tcp_port: u16TCP port the PVA server listens on (default 5075).
udp_port: u16UDP port for PVA search/beacon (default 5076).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PvaConfig
impl<'de> Deserialize<'de> for PvaConfig
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 PvaConfig
impl RefUnwindSafe for PvaConfig
impl Send for PvaConfig
impl Sync for PvaConfig
impl Unpin for PvaConfig
impl UnsafeUnpin for PvaConfig
impl UnwindSafe for PvaConfig
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