Enum ckb_app_config::SupportProtocol
source · pub enum SupportProtocol {
Ping,
Discovery,
Identify,
Feeler,
DisconnectMessage,
Sync,
Relay,
Time,
Alert,
LightClient,
Filter,
}
Variants§
Trait Implementations§
source§impl Clone for SupportProtocol
impl Clone for SupportProtocol
source§fn clone(&self) -> SupportProtocol
fn clone(&self) -> SupportProtocol
Returns a copy 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 SupportProtocol
impl Debug for SupportProtocol
source§impl<'de> Deserialize<'de> for SupportProtocol
impl<'de> Deserialize<'de> for SupportProtocol
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
source§impl Hash for SupportProtocol
impl Hash for SupportProtocol
source§impl PartialEq for SupportProtocol
impl PartialEq for SupportProtocol
source§fn eq(&self, other: &SupportProtocol) -> bool
fn eq(&self, other: &SupportProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SupportProtocol
impl Serialize for SupportProtocol
impl Copy for SupportProtocol
impl Eq for SupportProtocol
impl StructuralPartialEq for SupportProtocol
Auto Trait Implementations§
impl RefUnwindSafe for SupportProtocol
impl Send for SupportProtocol
impl Sync for SupportProtocol
impl Unpin for SupportProtocol
impl UnwindSafe for SupportProtocol
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