pub struct RelayFlags {
pub requires_ack: bool,
pub is_broadcast: bool,
}Expand description
Relay envelope flags
Fields§
§requires_ack: boolWhether this message requires acknowledgment
is_broadcast: boolWhether this is a broadcast (vs targeted)
Implementations§
Trait Implementations§
Source§impl Clone for RelayFlags
impl Clone for RelayFlags
Source§fn clone(&self) -> RelayFlags
fn clone(&self) -> RelayFlags
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 RelayFlags
impl Debug for RelayFlags
Source§impl Default for RelayFlags
impl Default for RelayFlags
Source§fn default() -> RelayFlags
fn default() -> RelayFlags
Returns the “default value” for a type. Read more
impl Copy for RelayFlags
Auto Trait Implementations§
impl Freeze for RelayFlags
impl RefUnwindSafe for RelayFlags
impl Send for RelayFlags
impl Sync for RelayFlags
impl Unpin for RelayFlags
impl UnwindSafe for RelayFlags
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