[−][src]Struct casperlabs_engine_shared::logging::log_message::MessageProperties
Methods
impl MessageProperties
[src]
pub fn new(properties: BTreeMap<String, String>) -> MessageProperties
[src]
pub fn get_formatted_message(&self, message_template: &str) -> String
[src]
strips out brace encased motes in message_template and applies them as candidate keys for the encapsulated collection of message properties. the underlying value of any candidate key that has an entry in the collection will be spliced into the output in the place of its corresponding brace encased candidate key
Trait Implementations
impl Clone for MessageProperties
[src]
fn clone(&self) -> MessageProperties
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MessageProperties
[src]
impl Hash for MessageProperties
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Serialize for MessageProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageProperties
impl Send for MessageProperties
impl Sync for MessageProperties
impl Unpin for MessageProperties
impl UnwindSafe for MessageProperties
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> Same<T> for T
type Output = T
Should always be Self
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, 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>,