pub async fn persist_event<P>(
        &self,
        event: &Event<'_>,
        source: P,
    ) -> Result<(), PersistenceError>
    where
        P: AsRef<Path>,
    {
        self.append(event, source.as_ref().join(QUEUE_FILE)).await
    }
/// Append single event to `source` log file (usually queue name)
Append single event to `source` log file (usually queue name)
Append single event to ` source ` log file ( usually queue name )
pub async fn persist_event<P>(
        &self,
        event: &Event<'_>,
        source: P,
    ) -> Result<(), PersistenceError>
    where
        P: AsRef<Path>,
    {
        self.append(event, source.as_ref().join(QUEUE_FILE)).await
    }
pub async fn persist_event < P > ( & self , event : & Event < ' _ > , source : P , ) -> Result < ( ) , PersistenceError > where P : AsRef < Path > , { self . append ( event , source . as_ref ( ) . join ( QUEUE_FILE ) ) . await }
Append single event to `source` log file (usually queue name)
Append single event to ` source ` log file ( usually queue name )
&self
event
&Event<'_>
source
P
&self
event
&Event<'_>
source
P