pub struct DeviceSynchronousProxy { /* private fields */ }
Implementations§
Source§impl DeviceSynchronousProxy
impl DeviceSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<DeviceEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<DeviceEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
pub fn set_nodes_bandwidth( &self, nodes: &[NodeBandwidth], ___deadline: MonotonicInstant, ) -> Result<DeviceSetNodesBandwidthResult, Error>
Sourcepub fn get_node_graph(
&self,
___deadline: MonotonicInstant,
) -> Result<(Vec<Node>, Vec<Edge>), Error>
pub fn get_node_graph( &self, ___deadline: MonotonicInstant, ) -> Result<(Vec<Node>, Vec<Edge>), Error>
Returns a list of all nodes and edges between those nodes. Edges are directional, so if an interconnect allows bidirectional traffic, it should be listed twice, once for each direction of traffic flow. Edges must only be specified for directly adjacent nodes.
Sourcepub fn get_path_endpoints(
&self,
___deadline: MonotonicInstant,
) -> Result<Vec<PathEndpoints>, Error>
pub fn get_path_endpoints( &self, ___deadline: MonotonicInstant, ) -> Result<Vec<PathEndpoints>, Error>
The paths within the interconnect node graph which see bus traffic and need to have constraints applied to by drivers. Each path will have a device node instantiated for it.
Trait Implementations§
Source§impl Debug for DeviceSynchronousProxy
impl Debug for DeviceSynchronousProxy
Source§impl From<Channel> for DeviceSynchronousProxy
impl From<Channel> for DeviceSynchronousProxy
Source§impl From<DeviceSynchronousProxy> for Handle
impl From<DeviceSynchronousProxy> for Handle
Source§fn from(value: DeviceSynchronousProxy) -> Self
fn from(value: DeviceSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl SynchronousProxy for DeviceSynchronousProxy
impl SynchronousProxy for DeviceSynchronousProxy
Source§type Proxy = DeviceProxy
type Proxy = DeviceProxy
The async proxy for the same protocol.
Source§type Protocol = DeviceMarker
type Protocol = DeviceMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for DeviceSynchronousProxy
impl RefUnwindSafe for DeviceSynchronousProxy
impl Send for DeviceSynchronousProxy
impl Sync for DeviceSynchronousProxy
impl Unpin for DeviceSynchronousProxy
impl UnwindSafe for DeviceSynchronousProxy
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