[−][src]Enum svc_agent::mqtt::ConnectionMode
Connection mode of an agent that defines the level of privileges.
Variants
This mode locks the agent in his home topic allowing to publish and subscribe only to
topics that start with agent/AGENT_ID/api/
.
It must be used by end user agents.
This mode allows the agent to publish to any topic. It enables the service to send responses to end users and other services.
It mode must be used by regular service agents.
This mode allows also subscribing to any topic.
It shouldn't generally be used at all in production environment but may be useful for debugging and administrating.
This mode allows publishing messages on behalf of another agent.
It's intended for bridge service only that enable interaction with the system through protocols different from MQTT.
Trait Implementations
impl Clone for ConnectionMode
[src]
fn clone(&self) -> ConnectionMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConnectionMode
[src]
impl<'de> Deserialize<'de> for ConnectionMode
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for ConnectionMode
[src]
impl FromStr for ConnectionMode
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(val: &str) -> Result<Self, Self::Err>
[src]
impl Serialize for ConnectionMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConnectionMode
impl Send for ConnectionMode
impl Sync for ConnectionMode
impl Unpin for ConnectionMode
impl UnwindSafe for ConnectionMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,