pub enum TransportKey {
Lease,
KeepAlive,
WaitBeforeClose,
Sequence,
BatchBytes,
OpenTimeout,
AcceptTimeout,
InterestsTimeout,
}Expand description
One key of [transport] (v2 §2.1), with zenoh 1.10.1’s configuration
key it is written at.
Variants§
Implementations§
Source§impl TransportKey
impl TransportKey
Sourcepub const ALL: [TransportKey; 8]
pub const ALL: [TransportKey; 8]
Every key, in the policy’s order (v2 §2.1).
Sourcepub fn path(self) -> &'static str
pub fn path(self) -> &'static str
zenoh 1.10.1’s configuration key, /-separated as
zenoh::Config::insert_json5 takes it (zenoh-config’s lib.rs).
Sourcepub fn of_path(path: &str) -> Option<TransportKey>
pub fn of_path(path: &str) -> Option<TransportKey>
The key whose zenoh key is path, if any.
Trait Implementations§
Source§impl Clone for TransportKey
impl Clone for TransportKey
impl Copy for TransportKey
Source§impl Debug for TransportKey
impl Debug for TransportKey
impl Eq for TransportKey
Source§impl Ord for TransportKey
impl Ord for TransportKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TransportKey
impl PartialEq for TransportKey
Source§impl PartialOrd for TransportKey
impl PartialOrd for TransportKey
impl StructuralPartialEq for TransportKey
Auto Trait Implementations§
impl Forget for TransportKey
impl Freeze for TransportKey
impl Move for TransportKey
impl RefUnwindSafe for TransportKey
impl Send for TransportKey
impl Sync for TransportKey
impl Unpin for TransportKey
impl UnsafeUnpin for TransportKey
impl UnwindSafe for TransportKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more