pub trait ControllerLocalServerHandler<___T: Transport = Channel> {
// Required method
fn open_session(
&mut self,
request: Request<OpenSession, ___T>,
) -> impl Future<Output = ()>;
}Expand description
A server handler for the Controller protocol.
See Controller for more details.
Required Methods§
Sourcefn open_session(
&mut self,
request: Request<OpenSession, ___T>,
) -> impl Future<Output = ()>
fn open_session( &mut self, request: Request<OpenSession, ___T>, ) -> impl Future<Output = ()>
Opens a new session on the device.
At most one session is permitted at one time; the server end will be
closed with ZX_ERR_ALREADY_BOUND if a session already exists.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.