pub trait OpenFileControlTransport: Send + Sync {
// Required method
fn call(
&self,
request: OpenFileControl,
) -> Result<OpenFileControlReply, SharedOpenFileError>;
}Expand description
Carries one OpenFileControl request to the global state and returns
its answer, synchronously. A backend implements this over its existing
coordinator connection.
Required Methods§
Sourcefn call(
&self,
request: OpenFileControl,
) -> Result<OpenFileControlReply, SharedOpenFileError>
fn call( &self, request: OpenFileControl, ) -> Result<OpenFileControlReply, SharedOpenFileError>
Sends request and waits for the answer.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".