pub struct PlugEvent {
pub state: PlugState,
pub time: zx_time_t,
}
Expand description
Describes the plug state of a device or endpoint, and when it changed.
Fields§
§state: PlugState
§time: zx_time_t
The Zircon monotonic time when the plug state changed.
Trait Implementations§
impl Copy for PlugEvent
impl StructuralPartialEq for PlugEvent
Auto Trait Implementations§
impl Freeze for PlugEvent
impl RefUnwindSafe for PlugEvent
impl Send for PlugEvent
impl Sync for PlugEvent
impl Unpin for PlugEvent
impl UnwindSafe for PlugEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)