#[non_exhaustive]pub enum Event {
Present(Announce),
Absent(Announce),
}Expand description
What an announcement listing reports for a path.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Present(Announce)
A route now covers the path, which was absent. It may arrive unavailable; see
RouteInfo::available.
Absent(Announce)
No route covers the path any more, whether its origin withdrew it or this side let go of it. Carries its last advertised route.
Trait Implementations§
Source§impl Clone for AnnounceEvent
impl Clone for AnnounceEvent
Auto Trait Implementations§
impl Freeze for AnnounceEvent
impl RefUnwindSafe for AnnounceEvent
impl Send for AnnounceEvent
impl Sync for AnnounceEvent
impl Unpin for AnnounceEvent
impl UnsafeUnpin for AnnounceEvent
impl UnwindSafe for AnnounceEvent
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