pub struct EndpointSynchronousProxy { /* private fields */ }
Implementations§
source§impl EndpointSynchronousProxy
impl EndpointSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<EndpointEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<EndpointEvent, 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 get_config(&self, ___deadline: Time) -> Result<EndpointConfig, Error>
sourcepub fn set_link_up(&self, up: bool, ___deadline: Time) -> Result<(), Error>
pub fn set_link_up(&self, up: bool, ___deadline: Time) -> Result<(), Error>
Sends link up or down signal
sourcepub fn get_port(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>
pub fn get_port(&self, port: ServerEnd<PortMarker>) -> Result<(), Error>
Connects to the underlying device port.
sourcepub fn get_proxy_(
&self,
proxy: ServerEnd<DeviceProxy_Marker>
) -> Result<(), Error>
pub fn get_proxy_( &self, proxy: ServerEnd<DeviceProxy_Marker> ) -> Result<(), Error>
Gets a proxy to open requests with zircon ethernet device.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EndpointSynchronousProxy
impl Send for EndpointSynchronousProxy
impl Sync for EndpointSynchronousProxy
impl Unpin for EndpointSynchronousProxy
impl UnwindSafe for EndpointSynchronousProxy
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