pub struct RemoteEndpoint {
pub server_addr: SocketAddr,
pub server_name: String,
}Expand description
Describes a remote substrate endpoint reachable over the network.
Fields§
§server_addr: SocketAddrServer address of the remote substrate’s QUIC bridge.
server_name: StringSNI / server name for TLS validation.
Trait Implementations§
Source§impl Clone for RemoteEndpoint
impl Clone for RemoteEndpoint
Source§fn clone(&self) -> RemoteEndpoint
fn clone(&self) -> RemoteEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RemoteEndpoint
impl RefUnwindSafe for RemoteEndpoint
impl Send for RemoteEndpoint
impl Sync for RemoteEndpoint
impl Unpin for RemoteEndpoint
impl UnsafeUnpin for RemoteEndpoint
impl UnwindSafe for RemoteEndpoint
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