pub struct SendCommand {
slot: Slot,
action: SendAction,
retry: RetryPolicy,
}Expand description
Send to peer(s).
Fields§
§slot: Slot§action: SendAction§retry: RetryPolicyImplementations§
Source§impl SendCommand
impl SendCommand
Sourcepub fn builder() -> SendCommandBuilder
pub fn builder() -> SendCommandBuilder
Create an instance of SendCommand using the builder syntax
Trait Implementations§
Source§impl Clone for SendCommand
impl Clone for SendCommand
Source§fn clone(&self) -> SendCommand
fn clone(&self) -> SendCommand
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 SendCommand
impl RefUnwindSafe for SendCommand
impl Send for SendCommand
impl Sync for SendCommand
impl Unpin for SendCommand
impl UnsafeUnpin for SendCommand
impl UnwindSafe for SendCommand
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