pub struct LinkEvents {
pub info: Option<Box<dyn FnMut(&LinkInfo<'_>) + Send>>,
}Expand description
Link events that can be subscribed to.
Fields§
§info: Option<Box<dyn FnMut(&LinkInfo<'_>) + Send>>Link information became available, or changed.
Trait Implementations§
Source§impl Default for LinkEvents
impl Default for LinkEvents
Source§fn default() -> LinkEvents
fn default() -> LinkEvents
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinkEvents
impl !RefUnwindSafe for LinkEvents
impl Send for LinkEvents
impl !Sync for LinkEvents
impl Unpin for LinkEvents
impl !UnwindSafe for LinkEvents
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