pub struct BroadcastReport {
pub attempted: usize,
pub queued: usize,
pub failed: Vec<String>,
}Expand description
Outcome of a broadcast.
“Queued” means the bytes were handed to a peer’s connection task — delivery is not confirmed at this layer. Broadcasts reach only peers with an active WebSocket connection; no lazy connections are made.
Fields§
§attempted: usizePeers with an active WS connection at broadcast time.
queued: usizeMessages successfully queued to a connection task.
failed: Vec<String>Tailscale ids of peers whose connection task was already closed.
Trait Implementations§
Source§impl Clone for BroadcastReport
impl Clone for BroadcastReport
Source§fn clone(&self) -> BroadcastReport
fn clone(&self) -> BroadcastReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BroadcastReport
impl Debug for BroadcastReport
Source§impl Default for BroadcastReport
impl Default for BroadcastReport
Source§fn default() -> BroadcastReport
fn default() -> BroadcastReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BroadcastReport
impl RefUnwindSafe for BroadcastReport
impl Send for BroadcastReport
impl Sync for BroadcastReport
impl Unpin for BroadcastReport
impl UnsafeUnpin for BroadcastReport
impl UnwindSafe for BroadcastReport
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