pub enum Sighting {
Seen {
key: InstanceKey,
slot: Slot,
server: String,
port: u16,
txt: TxtRecord,
addrs: Vec<ScopedAddr>,
},
Gone {
key: InstanceKey,
slot: Option<Slot>,
},
}Available on crate feature
alloc only.Expand description
One report from a backend.
Variants§
Seen
An instance resolved, or resolved again, in one slot.
Fields
§
key: InstanceKeyThe instance.
§
addrs: Vec<ScopedAddr>The addresses of this report; they replace the slot’s previous ones.
Gone
An instance withdrawn from one slot, or from every slot.
Trait Implementations§
impl Eq for Sighting
impl StructuralPartialEq for Sighting
Auto Trait Implementations§
impl Freeze for Sighting
impl RefUnwindSafe for Sighting
impl Send for Sighting
impl Sync for Sighting
impl Unpin for Sighting
impl UnsafeUnpin for Sighting
impl UnwindSafe for Sighting
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