Struct safe_core::Client [] [src]

pub struct Client<T> { /* fields omitted */ }

The main self-authentication client instance that will interface all the request from high level API's to the actual routing layer and manage all interactions with it. This is essentially a non-blocking Client with an asynchronous API using the futures abstraction from the futures-rs crate

Methods

impl<T: 'static> Client<T>
[src]

[src]

This is a getter-only Gateway function to the Maidsafe network. It will create an unregistered random client, which can do very limited set of operations - eg., a Network-Get

[src]

Calculate sign key from seed

[src]

This is one of the Gateway functions to the Maidsafe network, the others being unregistered, registered, and login. This will help create an account given a seed. Everything including both account secrets and all MAID keys will be deterministically derived from the supplied seed, so this seed needs to be strong. For ordinary users, it's recommended to use the normal registered function where the secrets can be what's easy to remember for the user while also being strong.

[src]

This is a Gateway function to the Maidsafe network. This will help create a fresh acc for the user in the SAFE-network.

[src]

Login using seeded account

[src]

This is a Gateway function to the Maidsafe network. This will help login to an already existing account of the user in the SAFE-network.

[src]

This is a Gateway function to the Maidsafe network. This will help apps to authorise using an existing pair of keys.

[src]

Set request timeout.

[src]

Restart the routing client and reconnect to the network.

[src]

Get immutable data from the network. If the data exists locally in the cache then it will be immediately be returned without making an actual network request.

[src]

Put immutable data onto the network.

[src]

Put MutableData onto the network.

[src]

Mutates MutableData entries in bulk.

[src]

Get entire MutableData from the network.

[src]

Get a shell (bare bones) version of MutableData from the network.

[src]

Get a current version of MutableData from the network.

[src]

Returns a complete list of entries in MutableData.

[src]

Returns a list of keys in MutableData stored on the network

[src]

Returns a list of keys in MutableData stored on the network

[src]

Get a single entry from MutableData

[src]

Get data from the network.

[src]

Returns a list of permissions in MutableData stored on the network

[src]

Returns a list of permissions for a particular User in MutableData

[src]

Updates or inserts a permission set for a given user

[src]

Deletes a permission set for a given user

[src]

Sends an ownership transfer request

[src]

Fetches a list of authorised keys and version in MaidManager

[src]

Adds a new authorised key to MaidManager

[src]

Removes an authorised key from MaidManager

[src]

Sets the current status of std/root dirs creation

[src]

Returns the current status of std/root dirs creation

[src]

Replaces the config root reference in the account packet. Returns false if it wasn't updated. Doesn't actually modify the session packet - you should call update_account_packet afterwards to actually update it on the network.

[src]

Get User's Access Container if available in account packet used for current login

[src]

Replaces the config root reference in the account packet. Returns false if it wasn't updated. Doesn't actually modify the session packet - you should call update_account_packet afterwards to actually update it on the network.

[src]

Get Maidsafe specific configuration's Root Directory ID if available in account packet used for current login

[src]

Returns the public encryption key

[src]

Returns the Secret encryption key

[src]

Returns the public and secret encryption keys.

[src]

Returns the Public Signing key

[src]

Returns the Secret Signing key

[src]

Returns the Symmetric Encryption key

[src]

Returns the public and secret signing keys.

[src]

Return the owner signing key

[src]

Returns the crust::Config associated with the crust::Service (if any).

[src]

Updates user's account packet

Trait Implementations

impl<T> Clone for Client<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> Debug for Client<T>
[src]

[src]

Formats the value using the given formatter.