[−][src]Struct metrix::instruments::polled::ConstantValue
Methods
impl ConstantValue
[src]
pub fn new<T: Into<String>, V: Into<ItemKind>>(name: T, value: V) -> Self
[src]
pub fn set_name<T: Into<String>>(&mut self, name: T)
[src]
Set the name if this PollingInstrument
.
The name is a path segment within a Snapshot
if
self.create_group_with_name
is set to true.
pub fn get_name(&self) -> &str
[src]
Gets the name of this PollingInstrument
pub fn set_title<T: Into<String>>(&mut self, title: T)
[src]
Sets the title
of this PollingInstrument
.
A title can be part of a descriptive Snapshot
pub fn set_description<T: Into<String>>(&mut self, description: T)
[src]
Sets the description
of this PollingInstrument
.
A description can be part of a descriptive Snapshot
Trait Implementations
impl Descriptive for ConstantValue
[src]
impl PutsSnapshot for ConstantValue
[src]
fn put_snapshot(&self, into: &mut Snapshot, descriptive: bool)
[src]
Auto Trait Implementations
impl Send for ConstantValue
impl Sync for ConstantValue
impl Unpin for ConstantValue
impl UnwindSafe for ConstantValue
impl RefUnwindSafe for ConstantValue
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,