pub struct AsyncApiProtocol;Expand description
Enumerates all supported AsyncAPI protocols
Implementations§
Source§impl AsyncApiProtocol
impl AsyncApiProtocol
pub const AMQP: &'static str = "amqp"
pub const AMQP1: &'static str = "amqp1"
pub const ANYPOINTMQ: &'static str = "anypointmq"
pub const GOOGLE_PUBSUB: &'static str = "googlepubsub"
pub const HTTP: &'static str = "http"
pub const IBMMQ: &'static str = "ibmmq"
pub const JMS: &'static str = "jms"
pub const KAFKA: &'static str = "kafka"
pub const MERCURE: &'static str = "mercure"
pub const MQTT: &'static str = "mqtt"
pub const MQTT5: &'static str = "mqtt5"
pub const NATS: &'static str = "nats"
pub const PULSAR: &'static str = "pulsar"
pub const REDIS: &'static str = "redis"
pub const SNS: &'static str = "sns"
pub const SOLACE: &'static str = "solace"
pub const SQS: &'static str = "sqs"
pub const STOMP: &'static str = "stomp"
pub const WS: &'static str = "ws"
Sourcepub const ALL_VALUES: &'static [&'static str]
pub const ALL_VALUES: &'static [&'static str]
All valid values for this type
Auto Trait Implementations§
impl Freeze for AsyncApiProtocol
impl RefUnwindSafe for AsyncApiProtocol
impl Send for AsyncApiProtocol
impl Sync for AsyncApiProtocol
impl Unpin for AsyncApiProtocol
impl UnsafeUnpin for AsyncApiProtocol
impl UnwindSafe for AsyncApiProtocol
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