Skip to content

Commit

Permalink
import added
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Dec 5, 2023
1 parent b17b743 commit 62dd844
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zenoh-plugin-dds/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use std::sync::atomic::AtomicBool;
use std::sync::Arc;
use std::time::Duration;
use zenoh::liveliness::LivelinessToken;
use zenoh::plugins::{RunningPluginTrait, ZenohPlugin};
use zenoh::plugins::{RunningPluginTrait, ZenohPlugin, RunningPlugin};
use zenoh::prelude::r#async::AsyncResolve;
use zenoh::prelude::r#sync::SyncResolve;
use zenoh::prelude::*;
Expand Down Expand Up @@ -126,12 +126,12 @@ impl PluginControl for DDSPlugin {}
impl ZenohPlugin for DDSPlugin {}
impl Plugin for DDSPlugin {
type StartArgs = Runtime;
type Instance = zenoh::plugins::RunningPlugin;
type Instance = RunningPlugin;

const DEFAULT_NAME: &'static str = "zenoh-plugin-dds";
const PLUGIN_VERSION: &'static str = env!("CARGO_PKG_VERSION");

fn start(name: &str, runtime: &Self::StartArgs) -> ZResult<zenoh::plugins::RunningPlugin> {
fn start(name: &str, runtime: &Self::StartArgs) -> ZResult<RunningPlugin> {
// Try to initiate login.
// Required in case of dynamic lib, otherwise no logs.
// But cannot be done twice in case of static link.
Expand Down

0 comments on commit 62dd844

Please sign in to comment.