pub(crate) enum ObjectId {
Root,
Node {
adapter: usize,
node: NodeId,
},
}Variants§
Implementations§
Source§impl ObjectId
impl ObjectId
pub(crate) fn to_address(&self, bus_name: &UniqueName<'_>) -> OwnedObjectAddress
pub(crate) fn path(&self) -> OwnedObjectPath
Trait Implementations§
Source§impl From<&PlatformNode> for ObjectId
impl From<&PlatformNode> for ObjectId
Source§fn from(node: &PlatformNode) -> Self
fn from(node: &PlatformNode) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ObjectId
Auto Trait Implementations§
impl Freeze for ObjectId
impl RefUnwindSafe for ObjectId
impl Send for ObjectId
impl Sync for ObjectId
impl Unpin for ObjectId
impl UnwindSafe for ObjectId
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