pub struct CorbaBackend { /* private fields */ }Expand description
A pure rust CORBA backend.
Implementations§
Trait Implementations§
Source§impl Backend for CorbaBackend
impl Backend for CorbaBackend
Source§fn connect(&self, itr: &str) -> BoxFuture<'_, Result<Arc<dyn BackendDev>>>
fn connect(&self, itr: &str) -> BoxFuture<'_, Result<Arc<dyn BackendDev>>>
Use this backend to connect to a device given its ITR (Interoperable Tango
Reference). If the backend does not support this type of ITR, then it returns
[
DevError::DevNotHandled].Source§fn connect_at(
&self,
host: &str,
port: u16,
name: &str,
) -> BoxFuture<'_, Result<Arc<dyn BackendDev>>>
fn connect_at( &self, host: &str, port: u16, name: &str, ) -> BoxFuture<'_, Result<Arc<dyn BackendDev>>>
Use this backend to connect to a device given its name, and the host/port of the
service running the device server.
Source§fn serve<'a>(
&'a self,
config: &'a BackendServerConfig,
) -> BoxFuture<'a, Result<Arc<dyn BackendServer>>>
fn serve<'a>( &'a self, config: &'a BackendServerConfig, ) -> BoxFuture<'a, Result<Arc<dyn BackendServer>>>
Start serving with this protocol, as configured, resolving to the server once it is
listening: see
BackendServer::host and BackendServer::port for where it ends
up.Auto Trait Implementations§
impl !Freeze for CorbaBackend
impl !RefUnwindSafe for CorbaBackend
impl !UnwindSafe for CorbaBackend
impl Send for CorbaBackend
impl Sync for CorbaBackend
impl Unpin for CorbaBackend
impl UnsafeUnpin for CorbaBackend
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