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.