Trait vfs::service::ServiceLike
source · pub trait ServiceLike: Node {
// Required method
fn connect(
&self,
scope: ExecutionScope,
options: ServiceOptions,
object_request: ObjectRequestRef<'_>,
) -> Result<(), Status>;
}
Expand description
Objects that behave like services should implement this trait.
Required Methods§
sourcefn connect(
&self,
scope: ExecutionScope,
options: ServiceOptions,
object_request: ObjectRequestRef<'_>,
) -> Result<(), Status>
fn connect( &self, scope: ExecutionScope, options: ServiceOptions, object_request: ObjectRequestRef<'_>, ) -> Result<(), Status>
Used to establish a new connection.