Struct nt::NetworkTables[][src]

pub struct NetworkTables { /* fields omitted */ }

Core struct representing a connection to a NetworkTables server

Methods

impl NetworkTables
[src]

Performs the initial connection process to the given target. Assumes that target is a valid, running NetworkTables server. Returns a new NetworkTables once a connection has been established. If any errors are returned when trying to perform the connection, returns an Err

Registers the given closure cb as a callback to be called for CallbackType action When action occurs due to either network or user events, all callbacks registered for that type will be called

Returns a clone of all the entries this client currently knows of.

Returns an Entry for the given id The underlying value of the entry cannot be mutated.

Returns an EntryMut for the given id The underlying value of the entry can be mutated through the given EntryMut

Creates a new entry with data contained in data. Returns the id of the new entry, once the server has assigned it

Deletes all entries from the server this client is currently connected to Must be used with care. Cannot be undone

Checks if the client is actively connected to an NT server true if the 3-way handshake has been completed, and the client is fully synchronized

Trait Implementations

impl Drop for NetworkTables
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations