Struct lightning_block_sync::http::HttpEndpoint
source · [−]pub struct HttpEndpoint { /* private fields */ }
This is supported on crate features
rest-client
or rpc-client
only.Expand description
Endpoint for interacting with an HTTP-based API.
Implementations
sourceimpl HttpEndpoint
impl HttpEndpoint
Trait Implementations
sourceimpl Debug for HttpEndpoint
impl Debug for HttpEndpoint
sourceimpl<'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. Read more
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for HttpEndpoint
impl Send for HttpEndpoint
impl Sync for HttpEndpoint
impl Unpin for HttpEndpoint
impl UnwindSafe for HttpEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more