pub enum SendSuccess {
Buffered,
BufferedAwaitingConnection(PublicKey),
}Expand description
Result of successfully sending an onion message.
Variants§
Buffered
The message was buffered and will be sent once it is processed by
OnionMessageHandler::next_onion_message_for_peer.
BufferedAwaitingConnection(PublicKey)
The message was buffered and will be sent once the node is connected as a peer and it is
processed by OnionMessageHandler::next_onion_message_for_peer.
Trait Implementations§
Source§impl Clone for SendSuccess
impl Clone for SendSuccess
Source§fn clone(&self) -> SendSuccess
fn clone(&self) -> SendSuccess
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 SendSuccess
impl Debug for SendSuccess
Source§impl Hash for SendSuccess
impl Hash for SendSuccess
Source§impl PartialEq for SendSuccess
impl PartialEq for SendSuccess
impl Eq for SendSuccess
impl StructuralPartialEq for SendSuccess
Auto Trait Implementations§
impl Freeze for SendSuccess
impl RefUnwindSafe for SendSuccess
impl Send for SendSuccess
impl Sync for SendSuccess
impl Unpin for SendSuccess
impl UnwindSafe for SendSuccess
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