pub struct Infrastructure(/* private fields */);Expand description
The infrastructure used for connections between consumers/producers.
Implementations§
Source§impl Infrastructure
impl Infrastructure
Sourcepub const INFRASTRUCTURE_UNSPECIFIED: Infrastructure
pub const INFRASTRUCTURE_UNSPECIFIED: Infrastructure
An invalid infrastructure as the default case.
Sourcepub const PSC: Infrastructure
pub const PSC: Infrastructure
Private Service Connect is used for connections.
Sourcepub fn as_str_name(&self) -> Cow<'static, str>
pub fn as_str_name(&self) -> Cow<'static, str>
Gets the enum value as a string.
Sourcepub fn from_str_name(name: &str) -> Option<Self>
pub fn from_str_name(name: &str) -> Option<Self>
Creates an enum value from the value name.
Trait Implementations§
Source§impl Clone for Infrastructure
impl Clone for Infrastructure
Source§fn clone(&self) -> Infrastructure
fn clone(&self) -> Infrastructure
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Infrastructure
impl Debug for Infrastructure
Source§impl Default for Infrastructure
impl Default for Infrastructure
Source§impl<'de> Deserialize<'de> for Infrastructure
impl<'de> Deserialize<'de> for Infrastructure
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<i32> for Infrastructure
impl From<i32> for Infrastructure
Source§impl PartialEq for Infrastructure
impl PartialEq for Infrastructure
Source§impl Serialize for Infrastructure
impl Serialize for Infrastructure
impl StructuralPartialEq for Infrastructure
Auto Trait Implementations§
impl Freeze for Infrastructure
impl RefUnwindSafe for Infrastructure
impl Send for Infrastructure
impl Sync for Infrastructure
impl Unpin for Infrastructure
impl UnwindSafe for Infrastructure
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