pub enum BridgeProtocol {
LockAndMint,
BurnAndMint,
LiquidityPool,
AtomicSwap,
Optimistic,
ZeroKnowledge,
}Expand description
Bridge protocol types
Variants§
LockAndMint
Lock and mint protocol
BurnAndMint
Burn and mint protocol
LiquidityPool
Liquidity pool protocol
AtomicSwap
Atomic swap protocol
Optimistic
Optimistic bridge protocol
ZeroKnowledge
ZK proof bridge protocol
Implementations§
Trait Implementations§
Source§impl Clone for BridgeProtocol
impl Clone for BridgeProtocol
Source§fn clone(&self) -> BridgeProtocol
fn clone(&self) -> BridgeProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BridgeProtocol
Source§impl Debug for BridgeProtocol
impl Debug for BridgeProtocol
Source§impl<'de> Deserialize<'de> for BridgeProtocol
impl<'de> Deserialize<'de> for BridgeProtocol
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BridgeProtocol
Source§impl PartialEq for BridgeProtocol
impl PartialEq for BridgeProtocol
Source§fn eq(&self, other: &BridgeProtocol) -> bool
fn eq(&self, other: &BridgeProtocol) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BridgeProtocol
impl Serialize for BridgeProtocol
impl StructuralPartialEq for BridgeProtocol
Auto Trait Implementations§
impl Freeze for BridgeProtocol
impl RefUnwindSafe for BridgeProtocol
impl Send for BridgeProtocol
impl Sync for BridgeProtocol
impl Unpin for BridgeProtocol
impl UnsafeUnpin for BridgeProtocol
impl UnwindSafe for BridgeProtocol
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