pub fn enqueue(&self, session_update: SessionUpdate<'static>) {
        let mut queue = self.queue.lock().unwrap();
        queue.push(session_update);
        if queue.len() >= MAX_SESSION_ITEMS {
            SessionFlusher::flush(queue, &self.transport);
        }
    }
/// Enqueues a session update for delayed sending.
///
/// When the queue is full, it will be flushed immediately.
Enqueues a session update for delayed sending.
When the queue is full, it will be flushed immediately.
Enqueues a session update for delayed sending . When the queue is full it will be flushed immediately .
pub fn enqueue(&self, session_update: SessionUpdate<'static>) {
        let mut queue = self.queue.lock().unwrap();
        queue.push(session_update);
        if queue.len() >= MAX_SESSION_ITEMS {
            SessionFlusher::flush(queue, &self.transport);
        }
    }
pub fn enqueue ( & self , session_update : SessionUpdate < ' static > ) { let mut queue = self . queue . lock ( ) . unwrap ( ) ; queue . push ( session_update ) ; if queue . len ( ) >= MAX_SESSION_ITEMS { SessionFlusher :: flush ( queue , & self . transport ) ; } }
Enqueues a session update for delayed sending.
Enqueues a session update for delayed sending .
&self
session_update
SessionUpdate<'static>