pub struct OffloadAdvertisement {
pub paired: bool,
pub bearer_acceptable: bool,
pub target: Option<String>,
pub device_id: Option<String>,
pub model_id: Option<String>,
}Expand description
The offload link a plugin running perception offload reports through
PluginIpcClient::offload_advertise. The host stamps the schema version
and write time and publishes it as the offload-link sidecar
(ados_protocol::offload_link::OffloadLink) the perception-tier decision
reads.
Fields§
§paired: boolA compute node resolved and is reachable.
bearer_acceptable: boolThe bearer to that node is healthy enough to offload over.
target: Option<String>The node’s job-API address (host:port).
device_id: Option<String>The node’s device id, when discovery reported one.
model_id: Option<String>The detector model id the offload session runs.
Trait Implementations§
Source§impl Clone for OffloadAdvertisement
impl Clone for OffloadAdvertisement
Source§impl Debug for OffloadAdvertisement
impl Debug for OffloadAdvertisement
Source§impl Default for OffloadAdvertisement
impl Default for OffloadAdvertisement
impl Eq for OffloadAdvertisement
Source§impl PartialEq for OffloadAdvertisement
impl PartialEq for OffloadAdvertisement
impl StructuralPartialEq for OffloadAdvertisement
Auto Trait Implementations§
impl Freeze for OffloadAdvertisement
impl RefUnwindSafe for OffloadAdvertisement
impl Send for OffloadAdvertisement
impl Sync for OffloadAdvertisement
impl Unpin for OffloadAdvertisement
impl UnsafeUnpin for OffloadAdvertisement
impl UnwindSafe for OffloadAdvertisement
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.