-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
69 changed files
with
265 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,20 +13,22 @@ use std::future::Ready; | |
// Contributors: | ||
// ZettaScale Zenoh Team, <[email protected]> | ||
// | ||
use crate::api::builders::sample::SampleBuilderTrait; | ||
use crate::api::builders::sample::{QoSBuilderTrait, TimestampBuilderTrait, ValueBuilderTrait}; | ||
use crate::sealed::api::builders::sample::SampleBuilderTrait; | ||
use crate::sealed::api::builders::sample::{ | ||
QoSBuilderTrait, TimestampBuilderTrait, ValueBuilderTrait, | ||
}; | ||
#[cfg(feature = "unstable")] | ||
use crate::api::bytes::OptionZBytes; | ||
use crate::api::bytes::ZBytes; | ||
use crate::api::key_expr::KeyExpr; | ||
use crate::api::publication::Priority; | ||
use crate::api::sample::Locality; | ||
use crate::api::sample::SampleKind; | ||
use crate::sealed::api::bytes::OptionZBytes; | ||
use crate::sealed::api::bytes::ZBytes; | ||
use crate::sealed::api::key_expr::{KeyExpr, KeyExprInner}; | ||
use crate::sealed::api::publication::Priority; | ||
use crate::sealed::api::sample::Locality; | ||
use crate::sealed::api::sample::SampleKind; | ||
#[cfg(feature = "unstable")] | ||
use crate::api::sample::SourceInfo; | ||
use crate::api::session::SessionRef; | ||
use crate::api::value::Value; | ||
use crate::api::{encoding::Encoding, publication::Publisher}; | ||
use crate::sealed::api::sample::SourceInfo; | ||
use crate::sealed::api::session::SessionRef; | ||
use crate::sealed::api::value::Value; | ||
use crate::sealed::api::{encoding::Encoding, publication::Publisher}; | ||
use zenoh_core::{AsyncResolve, Resolvable, Result as ZResult, SyncResolve}; | ||
use zenoh_protocol::core::CongestionControl; | ||
use zenoh_protocol::network::Mapping; | ||
|
@@ -338,19 +340,17 @@ impl<'a, 'b> SyncResolve for PublisherBuilder<'a, 'b> { | |
.try_into() | ||
.expect("How did you get a key expression with a length over 2^32!?"); | ||
key_expr = match key_expr.0 { | ||
crate::api::key_expr::KeyExprInner::Borrowed(key_expr) | ||
| crate::api::key_expr::KeyExprInner::BorrowedWire { key_expr, .. } => { | ||
KeyExpr(crate::api::key_expr::KeyExprInner::BorrowedWire { | ||
KeyExprInner::Borrowed(key_expr) | KeyExprInner::BorrowedWire { key_expr, .. } => { | ||
KeyExpr(KeyExprInner::BorrowedWire { | ||
key_expr, | ||
expr_id, | ||
mapping: Mapping::Sender, | ||
prefix_len, | ||
session_id, | ||
}) | ||
} | ||
crate::api::key_expr::KeyExprInner::Owned(key_expr) | ||
| crate::api::key_expr::KeyExprInner::Wire { key_expr, .. } => { | ||
KeyExpr(crate::api::key_expr::KeyExprInner::Wire { | ||
KeyExprInner::Owned(key_expr) | KeyExprInner::Wire { key_expr, .. } => { | ||
KeyExpr(KeyExprInner::Wire { | ||
key_expr, | ||
expr_id, | ||
mapping: Mapping::Sender, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,17 +11,17 @@ | |
// Contributors: | ||
// ZettaScale Zenoh Team, <[email protected]> | ||
// | ||
use crate::api::bytes::ZBytes; | ||
use crate::api::encoding::Encoding; | ||
use crate::api::key_expr::KeyExpr; | ||
use crate::api::publication::Priority; | ||
use crate::api::sample::QoS; | ||
use crate::api::sample::QoSBuilder; | ||
use crate::api::sample::Sample; | ||
use crate::api::sample::SampleKind; | ||
use crate::api::value::Value; | ||
use crate::sealed::api::bytes::ZBytes; | ||
use crate::sealed::api::encoding::Encoding; | ||
use crate::sealed::api::key_expr::KeyExpr; | ||
use crate::sealed::api::publication::Priority; | ||
use crate::sealed::api::sample::QoS; | ||
use crate::sealed::api::sample::QoSBuilder; | ||
use crate::sealed::api::sample::Sample; | ||
use crate::sealed::api::sample::SampleKind; | ||
use crate::sealed::api::value::Value; | ||
#[cfg(feature = "unstable")] | ||
use crate::{api::bytes::OptionZBytes, sample::SourceInfo}; | ||
use crate::{sealed::api::bytes::OptionZBytes, sealed::api::sample::SourceInfo}; | ||
use std::marker::PhantomData; | ||
use uhlc::Timestamp; | ||
use zenoh_core::zresult; | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
// ZettaScale Zenoh Team, <[email protected]> | ||
// | ||
use super::plugins::{PluginsManager, PLUGIN_PREFIX}; | ||
use crate::runtime::Runtime; | ||
use crate::sealed::net::runtime::Runtime; | ||
use zenoh_config::{Config, PluginLoad}; | ||
use zenoh_result::ZResult; | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.