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§

source

fn connect( &self, scope: ExecutionScope, options: ServiceOptions, object_request: ObjectRequestRef<'_>, ) -> Result<(), Status>

Used to establish a new connection.

Implementors§