#[non_exhaustive]pub struct Outgoing<'n> {
pub to: SocketAddrV4,
pub message: Bvll<'n>,
}Expand description
A message to send. The caller encodes it
(Bvll::encode_into) and sends
it from the node’s own socket to to.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.to: SocketAddrV4The destination B/IP address.
message: Bvll<'n>The message.
Trait Implementations§
impl<'n> Copy for Outgoing<'n>
impl<'n> Eq for Outgoing<'n>
impl<'n> StructuralPartialEq for Outgoing<'n>
Auto Trait Implementations§
impl<'n> Freeze for Outgoing<'n>
impl<'n> RefUnwindSafe for Outgoing<'n>
impl<'n> Send for Outgoing<'n>
impl<'n> Sync for Outgoing<'n>
impl<'n> Unpin for Outgoing<'n>
impl<'n> UnsafeUnpin for Outgoing<'n>
impl<'n> UnwindSafe for Outgoing<'n>
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