[−][src]Struct log::kv::value::Slot
A value slot to fill using the Fill
trait.
Methods
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
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]
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, 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>,