pub fn current(&self) -> Option<MetadataRef> {
        let queue = self.queue.borrow();

        if queue.len() > 0 {
            Some(MetadataRef { guard: queue })
        }
        else {
            None
        }
    }
/// Gets an immutable reference to the current, and therefore oldest, revision of the metadata.
Gets an immutable reference to the current, and therefore oldest, revision of the metadata.
Gets an immutable reference to the current and therefore oldest revision of the metadata .
pub fn current(&self) -> Option<MetadataRef> {
        let queue = self.queue.borrow();
        if queue.len() > 0 {
            Some(MetadataRef { guard: queue })
        }
        else {
            None
        }
    }
pub fn current ( & self ) -> Option < MetadataRef > { let queue = self . queue . borrow ( ) ; if queue . len ( ) > 0 { Some ( MetadataRef { guard : queue } ) } else { None } }
Gets an immutable reference to the current, and therefore oldest, revision of the metadata.
Gets an immutable reference to the current and therefore oldest revision of the metadata .
&self
&self