pub struct ResponseInstruction { /* private fields */ }Expand description
Instructions for how and where to send the response to an onion message.
Implementations§
Source§impl ResponseInstruction
impl ResponseInstruction
Sourcepub fn into_instructions(self) -> MessageSendInstructions
pub fn into_instructions(self) -> MessageSendInstructions
Converts this ResponseInstruction into a MessageSendInstructions so that it can be
used to send the response via a normal message sending method.
Trait Implementations§
Source§impl Clone for ResponseInstruction
impl Clone for ResponseInstruction
Source§fn clone(&self) -> ResponseInstruction
fn clone(&self) -> ResponseInstruction
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 moreAuto Trait Implementations§
impl Freeze for ResponseInstruction
impl RefUnwindSafe for ResponseInstruction
impl Send for ResponseInstruction
impl Sync for ResponseInstruction
impl Unpin for ResponseInstruction
impl UnwindSafe for ResponseInstruction
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