pub enum PeerNotifySettings {
PeerNotifySettings(PeerNotifySettings),
}Expand description
Variants§
PeerNotifySettings(PeerNotifySettings)
Trait Implementations§
Source§impl Clone for PeerNotifySettings
impl Clone for PeerNotifySettings
Source§fn clone(&self) -> PeerNotifySettings
fn clone(&self) -> PeerNotifySettings
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 PeerNotifySettings
impl Debug for PeerNotifySettings
Source§impl Deserializable for PeerNotifySettings
impl Deserializable for PeerNotifySettings
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<PeerNotifySettings> for PeerNotifySettings
impl From<PeerNotifySettings> for PeerNotifySettings
Source§fn from(x: PeerNotifySettings) -> Self
fn from(x: PeerNotifySettings) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PeerNotifySettings
impl PartialEq for PeerNotifySettings
Source§impl Serializable for PeerNotifySettings
impl Serializable for PeerNotifySettings
Source§impl TryFrom<PeerNotifySettings> for PeerNotifySettings
impl TryFrom<PeerNotifySettings> for PeerNotifySettings
Source§type Error = PeerNotifySettings
type Error = PeerNotifySettings
The type returned in the event of a conversion error.
impl StructuralPartialEq for PeerNotifySettings
Auto Trait Implementations§
impl Freeze for PeerNotifySettings
impl RefUnwindSafe for PeerNotifySettings
impl Send for PeerNotifySettings
impl Sync for PeerNotifySettings
impl Unpin for PeerNotifySettings
impl UnsafeUnpin for PeerNotifySettings
impl UnwindSafe for PeerNotifySettings
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