pub struct Update {
pub path: PathOwned,
pub broadcast: Option<Consumer>,
}Expand description
A path and the broadcast now available there, delivered by AnnounceConsumer.
Fields§
§path: PathOwnedThe path of the broadcast, relative to the consuming cursor’s root.
broadcast: Option<Consumer>The broadcast now available at that path, or None if it is no longer available.
A replacement (a relay failover, or a shorter hop path arriving) is delivered as a
None followed by a Some, never as a swap in place. A route change alone is invisible here (the handles stay
valid); observe it via broadcast::Consumer::route_changed.
Trait Implementations§
Source§impl Clone for OriginAnnounce
impl Clone for OriginAnnounce
Source§fn clone(&self) -> OriginAnnounce
fn clone(&self) -> OriginAnnounce
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 moreAuto Trait Implementations§
impl Freeze for OriginAnnounce
impl RefUnwindSafe for OriginAnnounce
impl Send for OriginAnnounce
impl Sync for OriginAnnounce
impl Unpin for OriginAnnounce
impl UnsafeUnpin for OriginAnnounce
impl UnwindSafe for OriginAnnounce
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