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 moreAuto Trait Implementations§
impl Freeze for HttpEndpoint
impl RefUnwindSafe for HttpEndpoint
impl Send for HttpEndpoint
impl Sync for HttpEndpoint
impl Unpin for HttpEndpoint
impl UnwindSafe for HttpEndpoint
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