pub enum ConnectionBackend {
Smoldot,
Rpc,
Kyoto,
Helios,
}Expand description
Which backend to use for a given chain.
Variants§
Smoldot
Embedded smoldot light client (trustless, peer-to-peer).
Rpc
Direct WebSocket RPC to a public endpoint (centralized).
Kyoto
Kyoto BIP-157/158 compact block filter light client (Bitcoin P2P).
Helios
Helios Ethereum light client (consensus + execution verification).
Trait Implementations§
Source§impl Clone for ConnectionBackend
impl Clone for ConnectionBackend
Source§fn clone(&self) -> ConnectionBackend
fn clone(&self) -> ConnectionBackend
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionBackend
impl Debug for ConnectionBackend
Source§impl PartialEq for ConnectionBackend
impl PartialEq for ConnectionBackend
impl Copy for ConnectionBackend
impl Eq for ConnectionBackend
impl StructuralPartialEq for ConnectionBackend
Auto Trait Implementations§
impl Freeze for ConnectionBackend
impl RefUnwindSafe for ConnectionBackend
impl Send for ConnectionBackend
impl Sync for ConnectionBackend
impl Unpin for ConnectionBackend
impl UnsafeUnpin for ConnectionBackend
impl UnwindSafe for ConnectionBackend
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