pub struct RpcConfig {
pub bind_host: String,
pub bind_port: u16,
pub ws_port: u16,
}Fields§
§bind_host: String§bind_port: u16§ws_port: u16Implementations§
Source§impl RpcConfig
impl RpcConfig
pub fn get_rpc_base_url(&self) -> String
pub fn get_ws_base_url(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RpcConfig
impl RefUnwindSafe for RpcConfig
impl Send for RpcConfig
impl Sync for RpcConfig
impl Unpin for RpcConfig
impl UnwindSafe for RpcConfig
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