#[repr(C)]pub struct BusState {
pub obj: Object,
pub parent: *mut DeviceState,
pub name: *mut c_char,
pub hotplug_handler: *mut HotplugHandler,
pub max_index: c_int,
pub realized: bool,
pub full: bool,
pub num_children: c_int,
pub children: BusChildHead,
pub sibling: BusStateEntry,
pub reset: ResettableState,
}
Expand description
struct BusState: @obj: parent object @parent: parent Device @name: name of bus @hotplug_handler: link to a hotplug handler associated with bus. @max_index: max number of child buses @realized: is the bus itself realized? @full: is the bus full? @num_children: current number of child buses
Fields§
§obj: Object
§parent: *mut DeviceState
§name: *mut c_char
§hotplug_handler: *mut HotplugHandler
§max_index: c_int
§realized: bool
§full: bool
§num_children: c_int
§children: BusChildHead
@children: an RCU protected QTAILQ, thus readers must use RCU to access it, and writers must hold the big qemu lock
sibling: BusStateEntry
@sibling: next bus
reset: ResettableState
@reset: ResettableState for the bus; handled by Resettable interface.
Trait Implementations§
impl Copy for BusState
Auto Trait Implementations§
impl Freeze for BusState
impl RefUnwindSafe for BusState
impl !Send for BusState
impl !Sync for BusState
impl Unpin for BusState
impl UnwindSafe for BusState
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