pub struct Log<'a> {
pub operation: Operation,
pub source: &'static Location<'static>,
pub destination: &'static Location<'static>,
pub key: &'a Cow<'static, str>,
}Expand description
Contains information used in logging.
Fields§
§operation: Operation§source: &'static Location<'static>Source location corresponding to the insert.
destination: &'static Location<'static>§key: &'a Cow<'static, str>Key used to perform the lookup.
This is the final key that was used, and may be different from the key provided to get or remove due to lifts that may have translated the original key.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Log<'a>
impl<'a> RefUnwindSafe for Log<'a>
impl<'a> Send for Log<'a>
impl<'a> Sync for Log<'a>
impl<'a> Unpin for Log<'a>
impl<'a> UnwindSafe for Log<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more