Trait corundum::stm::Logger[][src]

pub trait Logger<A: MemPool> {
    unsafe fn take_log(
        &self,
        journal: &Journal<A>,
        notifier: Notifier<A>
    ) -> Ptr<Log<A>, A>; }

A generic trait for taking a log of any type

Required methods

unsafe fn take_log(
    &self,
    journal: &Journal<A>,
    notifier: Notifier<A>
) -> Ptr<Log<A>, A>
[src]

Takes a log of self and update the log flag if specified in notifier

Loading content...

Implementors

impl<T: PSafe + ?Sized, A: MemPool> Logger<A> for T[src]

Loading content...