[−][src]Struct aeron_rs::channel_uri::ChannelUri
Methods
impl ChannelUri
[src]
pub fn new(
prefix: String,
media: String,
params: HashMap<String, String>
) -> Self
[src]
prefix: String,
media: String,
params: HashMap<String, String>
) -> Self
pub fn prefix(&self) -> String
[src]
pub fn set_prefix(&mut self, value: String)
[src]
pub fn media(&self) -> String
[src]
pub fn set_media(&mut self, value: String)
[src]
pub const fn scheme() -> &'static str
[src]
pub fn get(&self, key: &str) -> &str
[src]
pub fn get_or_default<'a>(
&'a self,
key: &str,
default_value: &'a str
) -> &'a str
[src]
&'a self,
key: &str,
default_value: &'a str
) -> &'a str
pub fn put(&mut self, key: &str, value: String)
[src]
pub fn remove(&mut self, key: &str) -> String
[src]
pub fn contains_key(&self, key: &str) -> bool
[src]
pub fn parse(uri: &str) -> Result<Arc<Mutex<Self>>, AeronError>
[src]
pub fn add_session_id(
channel: &str,
session_id: i32
) -> Result<String, AeronError>
[src]
channel: &str,
session_id: i32
) -> Result<String, AeronError>
Trait Implementations
impl Debug for ChannelUri
[src]
impl Display for ChannelUri
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelUri
impl Send for ChannelUri
impl Sync for ChannelUri
impl Unpin for ChannelUri
impl UnwindSafe for ChannelUri
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,