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]

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

Calculate sign key from seed

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.

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

Login using seeded account

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.

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

Set request timeout.

Restart the routing client and reconnect to the network.

Important traits for Box<R>

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.

Important traits for Box<R>

Put immutable data onto the network.

Important traits for Box<R>

Put MutableData onto the network.

Important traits for Box<R>

Mutates MutableData entries in bulk.

Important traits for Box<R>

Get entire MutableData from the network.

Important traits for Box<R>

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

Important traits for Box<R>

Get a current version of MutableData from the network.

Important traits for Box<R>

Returns a complete list of entries in MutableData.

Important traits for Box<R>

Returns a list of keys in MutableData stored on the network

Important traits for Box<R>

Returns a list of keys in MutableData stored on the network

Important traits for Box<R>

Get a single entry from MutableData

Important traits for Box<R>

Get data from the network.

Important traits for Box<R>

Returns a list of permissions in MutableData stored on the network

Important traits for Box<R>

Returns a list of permissions for a particular User in MutableData

Important traits for Box<R>

Updates or inserts a permission set for a given user

Important traits for Box<R>

Deletes a permission set for a given user

Important traits for Box<R>

Sends an ownership transfer request

Important traits for Box<R>

Fetches a list of authorised keys and version in MaidManager

Important traits for Box<R>

Adds a new authorised key to MaidManager

Important traits for Box<R>

Removes an authorised key from MaidManager

Sets the current status of std/root dirs creation

Returns the current status of std/root dirs creation

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.

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

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.

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

Returns the public encryption key

Returns the Secret encryption key

Returns the public and secret encryption keys.

Returns the Public Signing key

Returns the Secret Signing key

Returns the Symmetric Encryption key

Returns the public and secret signing keys.

Return the owner signing key

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

Important traits for Box<R>

Updates user's account packet

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> !Send for Client<T>

impl<T> !Sync for Client<T>