pub struct NodeSymbol {
pub name: Option<String>,
pub address: Option<u64>,
pub module_name: Option<String>,
}
Expand description
Definition of a symbol provided by a driver for a node. A symbol is local to a driver host.
Fields§
§name: Option<String>
§address: Option<u64>
§module_name: Option<String>
Trait Implementations§
Source§impl Clone for NodeSymbol
impl Clone for NodeSymbol
Source§fn clone(&self) -> NodeSymbol
fn clone(&self) -> NodeSymbol
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeSymbol
impl Debug for NodeSymbol
Source§impl Default for NodeSymbol
impl Default for NodeSymbol
Source§fn default() -> NodeSymbol
fn default() -> NodeSymbol
Returns the “default value” for a type. Read more
Source§impl Encodable for NodeSymbol
impl Encodable for NodeSymbol
Source§type Encoded = WireNodeSymbol
type Encoded = WireNodeSymbol
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for NodeSymbolwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for NodeSymbolwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireNodeSymbol> for NodeSymbol
impl TakeFrom<WireNodeSymbol> for NodeSymbol
Source§fn take_from(from: &WireNodeSymbol) -> Self
fn take_from(from: &WireNodeSymbol) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for NodeSymbol
impl RefUnwindSafe for NodeSymbol
impl Send for NodeSymbol
impl Sync for NodeSymbol
impl Unpin for NodeSymbol
impl UnwindSafe for NodeSymbol
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