pub enum DiscoveryEvent {
NewSession {
summary: SessionSummary,
},
SessionUpdated {
session_id: String,
provider_name: String,
is_new: bool,
},
SessionRemoved {
session_id: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for DiscoveryEvent
impl Clone for DiscoveryEvent
Source§fn clone(&self) -> DiscoveryEvent
fn clone(&self) -> DiscoveryEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 DiscoveryEvent
impl RefUnwindSafe for DiscoveryEvent
impl Send for DiscoveryEvent
impl Sync for DiscoveryEvent
impl Unpin for DiscoveryEvent
impl UnwindSafe for DiscoveryEvent
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