Struct dbs_upcall::DevMgrService
source · pub struct DevMgrService {}
Expand description
Device manager service, realized upcall client service.
Trait Implementations§
source§impl Default for DevMgrService
impl Default for DevMgrService
source§fn default() -> DevMgrService
fn default() -> DevMgrService
Returns the “default value” for a type. Read more
source§impl UpcallClientService for DevMgrService
impl UpcallClientService for DevMgrService
source§fn connection_start(&self, stream: &mut Box<dyn VsockStream>) -> Result<()>
fn connection_start(&self, stream: &mut Box<dyn VsockStream>) -> Result<()>
Start to connect to service.
source§fn connection_check(&self, stream: &mut Box<dyn VsockStream>) -> Result<()>
fn connection_check(&self, stream: &mut Box<dyn VsockStream>) -> Result<()>
Check service’s connection callback.
source§fn send_request(
&self,
stream: &mut Box<dyn VsockStream>,
request: UpcallClientRequest
) -> Result<()>
fn send_request( &self, stream: &mut Box<dyn VsockStream>, request: UpcallClientRequest ) -> Result<()>
Send request to service.
source§fn handle_response(
&self,
stream: &mut Box<dyn VsockStream>
) -> Result<UpcallClientResponse>
fn handle_response( &self, stream: &mut Box<dyn VsockStream> ) -> Result<UpcallClientResponse>
Service’s response callback.