pub struct UpcallId {
pub driver_num: usize,
pub subscribe_num: usize,
}
Expand description
Type to uniquely identify an upcall subscription across all drivers.
This contains the driver number and the subscribe number within the driver.
Fields§
§driver_num: usize
§subscribe_num: usize
Trait Implementations§
source§impl PartialEq<UpcallId> for UpcallId
impl PartialEq<UpcallId> for UpcallId
impl Copy for UpcallId
impl StructuralPartialEq for UpcallId
Auto Trait Implementations§
impl RefUnwindSafe for UpcallId
impl Send for UpcallId
impl Sync for UpcallId
impl Unpin for UpcallId
impl UnwindSafe for UpcallId
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