Struct lightning_block_sync::http::HttpEndpoint
source · pub struct HttpEndpoint { /* private fields */ }
Available on crate features
rest-client
or rpc-client
only.Expand description
Endpoint for interacting with an HTTP-based API.
Implementations§
Trait Implementations§
source§impl Debug for HttpEndpoint
impl Debug for HttpEndpoint
source§impl<'a> ToSocketAddrs for &'a HttpEndpoint
impl<'a> ToSocketAddrs for &'a HttpEndpoint
§type Iter = <(&'a str, u16) as ToSocketAddrs>::Iter
type Iter = <(&'a str, u16) as ToSocketAddrs>::Iter
Returned iterator over socket addresses which this type may correspond
to.
source§fn to_socket_addrs(&self) -> Result<Self::Iter>
fn to_socket_addrs(&self) -> Result<Self::Iter>
Converts this object to an iterator of resolved
SocketAddr
s. Read more