[−][src]Enum lnpbp::lnp::transport::RemoteAddr
Represents a connection to a generic node operating with LNP protocol
Variants (Non-exhaustive)
Direct access to LNP API methods without any serialization/deserialization of data structures
Inproc(String)
Local node operating as a separate thread, connected with
unencrypted ZMQ inproc
socket, utilizing POSIX memory sharing
(and not POSIX sockets), i.e. mutexes, semaphores etc.
Ipc(PathBuf)
Local node operating as a separate process, connected with
unencrypted ZMQ ipc
POSIX/UNIX socket (using standard POSIX I/O).
File(PathBuf)
Local node operating as a separate process, connected with unencrypted POSIX file I/O (like in c-lightning)
Tcp(InetSocketAddr)
Standard TCP socket connection required to use end-to-end encryption, that may be served either over plain IP, IPSec or Tor v2 and v3
Udp(InetSocketAddr)
Standard UDP socket connection required to use end-to-end encryption, that may be served either over plain IP, IPSec or utilize UDP hole punching
Smtp(InetSocketAddr)
SMTP connection: asynchronous end-to-end-over SMTP information transfer which is usefull for ultra-low bandwidth non-real-time connections like satellite networks
Websocket(InetSocketAddr)
End-to-end ecnruption over web connection: think of this as LN protocol streamed over Websocket
Trait Implementations
impl Clone for RemoteAddr
[src]
fn clone(&self) -> RemoteAddr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RemoteAddr
[src]
impl Display for RemoteAddr
[src]
impl Eq for RemoteAddr
[src]
impl PartialEq<RemoteAddr> for RemoteAddr
[src]
fn eq(&self, other: &RemoteAddr) -> bool
[src]
fn ne(&self, other: &RemoteAddr) -> bool
[src]
impl StructuralEq for RemoteAddr
[src]
impl StructuralPartialEq for RemoteAddr
[src]
Auto Trait Implementations
impl RefUnwindSafe for RemoteAddr
impl Send for RemoteAddr
impl Sync for RemoteAddr
impl Unpin for RemoteAddr
impl UnwindSafe for RemoteAddr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,