[][src]Struct log::kv::value::Slot

pub struct Slot<'a> { /* fields omitted */ }

A value slot to fill using the Fill trait.

Implementations

impl<'a> Slot<'a>[src]

pub fn fill(&mut self, value: Value) -> Result<(), Error>[src]

Fill the slot with a value.

The given value doesn't need to satisfy any particular lifetime constraints.

Panics

Calling fill more than once will panic.

Trait Implementations

impl<'a> Debug for Slot<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Slot<'a>

impl<'a> !Send for Slot<'a>

impl<'a> !Sync for Slot<'a>

impl<'a> Unpin for Slot<'a>

impl<'a> !UnwindSafe for Slot<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.