Struct rings_core::message::NotifyPredecessorSend
source · pub struct NotifyPredecessorSend {
pub did: Did,
}Expand description
MessageType use to notify predecessor, ask for update finger tables.
Fields§
§did: DidTrait Implementations§
source§impl Clone for NotifyPredecessorSend
impl Clone for NotifyPredecessorSend
source§fn clone(&self) -> NotifyPredecessorSend
fn clone(&self) -> NotifyPredecessorSend
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 NotifyPredecessorSend
impl Debug for NotifyPredecessorSend
source§impl<'de> Deserialize<'de> for NotifyPredecessorSend
impl<'de> Deserialize<'de> for NotifyPredecessorSend
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 HandleMsg<NotifyPredecessorSend> for MessageHandler
impl HandleMsg<NotifyPredecessorSend> for MessageHandler
source§fn handle<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 MessagePayload<Message>,
msg: &'life2 NotifyPredecessorSend
) -> Pin<Box<dyn Future<Output = Result<Vec<MessageHandlerEvent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn handle<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, ctx: &'life1 MessagePayload<Message>, msg: &'life2 NotifyPredecessorSend ) -> Pin<Box<dyn Future<Output = Result<Vec<MessageHandlerEvent>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
Message handler.
source§impl PartialEq<NotifyPredecessorSend> for NotifyPredecessorSend
impl PartialEq<NotifyPredecessorSend> for NotifyPredecessorSend
source§fn eq(&self, other: &NotifyPredecessorSend) -> bool
fn eq(&self, other: &NotifyPredecessorSend) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NotifyPredecessorSend
impl Serialize for NotifyPredecessorSend
impl Eq for NotifyPredecessorSend
impl StructuralEq for NotifyPredecessorSend
impl StructuralPartialEq for NotifyPredecessorSend
Auto Trait Implementations§
impl RefUnwindSafe for NotifyPredecessorSend
impl Send for NotifyPredecessorSend
impl Sync for NotifyPredecessorSend
impl Unpin for NotifyPredecessorSend
impl UnwindSafe for NotifyPredecessorSend
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.