pub struct Data {
    pub clients: Clients<ClientInfo>,
    pub files: Files<FileInfo>,
}
Expand description

Aggregates client and file info.

Fields

clients: Clients<ClientInfo>

Map from client indexes to client information.

files: Files<FileInfo>

Map from file indexes to file information.

Implementations

Constructor.

Adds a client.

Does not add the client again if it’s already there (by name).

Adds a file, updates the clients concerned.

Retrieves information about a file.

Adds a client to a file.

Returns the client equivalence classes.

Two clients are in the same equivalence class if they are associated to the same file, transitively.

Trait Implementations

The returned type after indexing.
Performs the indexing (container[index]) operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.