Struct cannyls_rpc::Server [−][src]
pub struct Server { /* fields omitted */ }
RPCサーバ.
Methods
impl Server
[src]
impl Server
pub fn new(registry: DeviceRegistryHandle) -> Self
[src]
pub fn new(registry: DeviceRegistryHandle) -> Self
指定されたレジストリを操作するための、新しいRPCサーバインスタンスを生成する.
pub fn register(self, builder: &mut ServerBuilder)
[src]
pub fn register(self, builder: &mut ServerBuilder)
RPCサーバを登録して、利用可能な状態にする.