Expand description
This is an API client library for interacting with MEGA’s API using Rust.
Structs§
- Client
- The MEGA API Client itself.
- Client
Builder - A builder to initialize a
Client
instance. - Event
Batch - A batch of MEGA-emitted events.
- Event
Node - Represents a node, as part of an
Event
. - Event
Node Attributes - Represents the updated attributes of a node, as part of an
Event
. - File
Node - Represents a node in MEGA.
- Node
- Represents a node stored in MEGA (either a file or a folder).
- Nodes
- Represents a collection of nodes from MEGA.
- Session
Info - Represents information about a user session.
- Storage
Quotas - Represents storage quotas from MEGA.
- User
Info - Represents information about a MEGA user.
Enums§
- Error
- The main error type for this library.
- Error
Code - Error code originating from MEGA’s API.
- Event
- A MEGA-emitted event.
- Last
Modified - Represents the last modified date to set for a newly uploaded MEGA node.
- Node
Kind - Represents the kind of a given node.
Functions§
- compute_
condensed_ mac - This function computes a full-coverage condensed MAC, in the exact same way that MEGA does it.
- compute_
sparse_ checksum - This function computes a sparse CRC32-based checksum, in the exact same way that MEGA does it.
Type Aliases§
- Result
- The
Result
type for this library.