pub enum SupportedProtocol {
Show 20 variants
Clustering,
AMQP,
AMQPWithTLS,
Stream,
StreamWithTLS,
MQTT,
MQTTWithTLS,
STOMP,
STOMPWithTLS,
AMQPOverWebSockets,
AMQPOverWebSocketsWithTLS,
MQTTOverWebSockets,
MQTTOverWebSocketsWithTLS,
STOMPOverWebsockets,
STOMPOverWebsocketsWithTLS,
Prometheus,
PrometheusWithTLS,
HTTP,
HTTPWithTLS,
Other(String),
}Variants§
Clustering
Represents the inter-node and CLI tool communication protocol (a.k.a. the Erlang distribution protocol)
AMQP
Represents both AMQP 1.0 and AMQP 0-9-1 because they share a listener. Some API endpoints (e.g. auth attempts) return “amqp091” or “amqp10” specifically.
AMQPWithTLS
Represents both AMQP 1.0 with TLS enabled and AMQP 0-9-1 with TLS enabled
Stream
Represents the RabbitMQ Stream protocol
StreamWithTLS
Represents the RabbitMQ Stream protocol with TLS enabled
MQTT
Represents both MQTTv5 and MQTTv3
MQTTWithTLS
Represents both MQTTv5 and MQTTv3 with TLS enabled
STOMP
Represents STOMP 1.0 through 1.2
STOMPWithTLS
Represents STOMP 1.0 through 1.2 with TLS enabled
AMQPOverWebSockets
Represents AMQP 1.0 over WebSockets
AMQPOverWebSocketsWithTLS
Represents AMQP 1.0 over WebSockets with TLS enabled
MQTTOverWebSockets
Represents both MQTTv5 and MQTTv3 over WebSockets
MQTTOverWebSocketsWithTLS
Represents both MQTTv5 and MQTTv3 over WebSockets with TLS enabled
STOMPOverWebsockets
Represents STOMP 1.0 through 1.2 over WebSockets
STOMPOverWebsocketsWithTLS
Represents STOMP 1.0 through 1.2 over WebSockets with TLS enabled
Prometheus
Represents an HTTP endpoint for Prometheus scraping
PrometheusWithTLS
Represents an HTTP endpoint for Prometheus scraping with TLS enabled
HTTP
Represents an HTTP API endpoint
HTTPWithTLS
Represents an HTTP API endpoint with TLS enabled
Other(String)
All other protocols, e.g. those coming from 3rd party plugins
Trait Implementations§
Source§impl AsRef<str> for SupportedProtocol
impl AsRef<str> for SupportedProtocol
Source§impl Clone for SupportedProtocol
impl Clone for SupportedProtocol
Source§fn clone(&self) -> SupportedProtocol
fn clone(&self) -> SupportedProtocol
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SupportedProtocol
impl Debug for SupportedProtocol
Source§impl<'de> Deserialize<'de> for SupportedProtocol
impl<'de> Deserialize<'de> for SupportedProtocol
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for SupportedProtocol
impl Display for SupportedProtocol
Source§impl From<&SupportedProtocol> for String
impl From<&SupportedProtocol> for String
Source§fn from(value: &SupportedProtocol) -> Self
fn from(value: &SupportedProtocol) -> Self
Source§impl From<&str> for SupportedProtocol
impl From<&str> for SupportedProtocol
Source§impl From<String> for SupportedProtocol
impl From<String> for SupportedProtocol
Source§impl From<SupportedProtocol> for String
impl From<SupportedProtocol> for String
Source§fn from(value: SupportedProtocol) -> String
fn from(value: SupportedProtocol) -> String
Source§impl FromStr for SupportedProtocol
impl FromStr for SupportedProtocol
Source§impl Hash for SupportedProtocol
impl Hash for SupportedProtocol
Source§impl PartialEq for SupportedProtocol
impl PartialEq for SupportedProtocol
Source§impl Serialize for SupportedProtocol
impl Serialize for SupportedProtocol
impl Eq for SupportedProtocol
impl StructuralPartialEq for SupportedProtocol
Auto Trait Implementations§
impl Freeze for SupportedProtocol
impl RefUnwindSafe for SupportedProtocol
impl Send for SupportedProtocol
impl Sync for SupportedProtocol
impl Unpin for SupportedProtocol
impl UnsafeUnpin for SupportedProtocol
impl UnwindSafe for SupportedProtocol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.