Class LockedNetworkGraph

  • All Implemented Interfaces:
    AutoCloseable

    public class LockedNetworkGraph
    extends Object
    implements AutoCloseable
    A simple newtype for RwLockReadGuard<'a, NetworkGraph>. This exists only to make accessing a RwLock possible from the C bindings, as it can be done directly in Rust code.
    • Method Detail

      • graph

        public NetworkGraph graph()
        Get a reference to the NetworkGraph which this read-lock contains.