[−][src]Struct safe_authenticator::AuthClient
Client object used by safe_authenticator
.
Implementations
impl AuthClient
[src]
pub async fn config_root_dir<'_>(&'_ self) -> MDataInfo
[src]
Get Maidsafe specific configuration's Root Directory ID if available in account packet used for current login.
pub async fn set_config_root_dir<'_>(&'_ self, dir: MDataInfo) -> bool
[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.
pub async fn access_container<'_>(&'_ self) -> MDataInfo
[src]
Get User's Access Container if available in account packet used for current login
pub async fn set_access_container<'_>(&'_ self, dir: MDataInfo) -> bool
[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.
pub async fn update_account_packet<'_>(&'_ self) -> Result<(), AuthError>
[src]
Updates user's account packet.
pub async fn std_dirs_created<'_>(&'_ self) -> bool
[src]
Returns the current status of std/root dirs creation.
pub async fn set_std_dirs_created<'_>(&'_ self, val: bool)
[src]
Sets the current status of std/root dirs creation.
Trait Implementations
impl AuthActions for AuthClient
[src]
#[must_use]fn list_auth_keys_and_version<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(BTreeMap<PublicKey, AppPermissions>, u64), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(BTreeMap<PublicKey, AppPermissions>, u64), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]fn ins_auth_key<'life0, 'async_trait>(
&'life0 self,
key: PublicKey,
permissions: AppPermissions,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
key: PublicKey,
permissions: AppPermissions,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]fn del_auth_key<'life0, 'async_trait>(
&'life0 self,
key: PublicKey,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
key: PublicKey,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]fn delete_mdata<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Sync + 'async_trait,
impl Client for AuthClient
[src]
type Context = ()
Associated message type.
fn full_id<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = SafeKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = SafeKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn owner_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn config<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Option<BootstrapConfig>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Option<BootstrapConfig>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn inner(&self) -> Arc<Mutex<Inner>>
[src]
fn public_encryption_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn secret_encryption_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = SecretKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = SecretKey> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn secret_symmetric_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Key> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Key> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn public_id<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicId> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicId> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn public_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicKey> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = PublicKey> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn encryption_keypair<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = (PublicKey, SecretKey)> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = (PublicKey, SecretKey)> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn compose_message<'life0, 'async_trait>(
&'life0 self,
request: Request,
sign: bool
) -> Pin<Box<dyn Future<Output = Result<Message, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request,
sign: bool
) -> Pin<Box<dyn Future<Output = Result<Message, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn set_timeout<'life0, 'async_trait>(
&'life0 self,
duration: Duration
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
duration: Duration
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn restart_network<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn put_unseq_mutable_data<'life0, 'async_trait>(
&'life0 self,
data: UnseqData
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
data: UnseqData
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn transfer_coins<'life0, 'life1, 'async_trait>(
&'life0 self,
client_id: Option<&'life1 FullId>,
destination: XorName,
amount: Coins,
transaction_id: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Transaction, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client_id: Option<&'life1 FullId>,
destination: XorName,
amount: Coins,
transaction_id: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Transaction, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn create_balance<'life0, 'life1, 'async_trait>(
&'life0 self,
client_id: Option<&'life1 FullId>,
new_balance_owner: PublicKey,
amount: Coins,
transaction_id: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Transaction, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client_id: Option<&'life1 FullId>,
new_balance_owner: PublicKey,
amount: Coins,
transaction_id: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Transaction, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn insert_login_packet_for<'life0, 'life1, 'async_trait>(
&'life0 self,
client_id: Option<&'life1 FullId>,
new_owner: PublicKey,
amount: Coins,
transaction_id: Option<u64>,
new_login_packet: LoginPacket
) -> Pin<Box<dyn Future<Output = Result<Transaction, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client_id: Option<&'life1 FullId>,
new_owner: PublicKey,
amount: Coins,
transaction_id: Option<u64>,
new_login_packet: LoginPacket
) -> Pin<Box<dyn Future<Output = Result<Transaction, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_balance<'life0, 'life1, 'async_trait>(
&'life0 self,
client_id: Option<&'life1 FullId>
) -> Pin<Box<dyn Future<Output = Result<Coins, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
client_id: Option<&'life1 FullId>
) -> Pin<Box<dyn Future<Output = Result<Coins, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn put_idata<'life0, 'async_trait, D>(
&'life0 self,
data: D
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
D: Into<Data> + Send + 'async_trait,
Self: Send + 'async_trait,
[src]
&'life0 self,
data: D
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
D: Into<Data> + Send + 'async_trait,
Self: Send + 'async_trait,
#[must_use]fn get_idata<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<Data, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<Data, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn del_unpub_idata<'life0, 'async_trait>(
&'life0 self,
name: XorName
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn put_seq_mutable_data<'life0, 'async_trait>(
&'life0 self,
data: SeqData
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
data: SeqData
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_unseq_mdata<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<UnseqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<UnseqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_seq_mdata_value<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64,
key: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<SeqValue, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64,
key: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<SeqValue, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_unseq_mdata_value<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64,
key: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64,
key: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_seq_mdata<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<SeqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<SeqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn mutate_seq_mdata_entries<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64,
actions: SeqEntryActions
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64,
actions: SeqEntryActions
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn mutate_unseq_mdata_entries<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64,
actions: UnseqEntryActions
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64,
actions: UnseqEntryActions
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_seq_mdata_shell<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<SeqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<SeqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_unseq_mdata_shell<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<UnseqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<UnseqData, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_mdata_version<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<u64, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<u64, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_unseq_mdata_entries<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Vec<u8>, Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Vec<u8>, Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_seq_mdata_entries<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Vec<u8>, SeqValue>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<Vec<u8>, SeqValue>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_mdata_keys<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<BTreeSet<Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<BTreeSet<Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_seq_mdata_values<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<Vec<SeqValue>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<Vec<SeqValue>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_mdata_user_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address,
user: PublicKey
) -> Pin<Box<dyn Future<Output = Result<PermissionSet, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
user: PublicKey
) -> Pin<Box<dyn Future<Output = Result<PermissionSet, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_unseq_mdata_values<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn store_priv_sdata<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64,
owner: PublicKey,
permissions: BTreeMap<PublicKey, PrivUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<Address, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64,
owner: PublicKey,
permissions: BTreeMap<PublicKey, PrivUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<Address, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn store_pub_sdata<'life0, 'async_trait>(
&'life0 self,
name: XorName,
tag: u64,
owner: PublicKey,
permissions: BTreeMap<User, PubUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<Address, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
name: XorName,
tag: u64,
owner: PublicKey,
permissions: BTreeMap<User, PubUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<Address, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_sdata<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<Data, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<Data, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_sdata_last_entry<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<(u64, Vec<u8>), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<(u64, Vec<u8>), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_sdata_range<'life0, 'async_trait>(
&'life0 self,
address: Address,
range: (Index, Index)
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
range: (Index, Index)
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn sdata_append<'life0, 'async_trait>(
&'life0 self,
address: Address,
entry: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
entry: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_sdata_pub_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<PubPermissions, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<PubPermissions, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_sdata_priv_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<PrivPermissions, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<PrivPermissions, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_sdata_user_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address,
user: User
) -> Pin<Box<dyn Future<Output = Result<UserPermissions, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
user: User
) -> Pin<Box<dyn Future<Output = Result<UserPermissions, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn sdata_set_pub_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address,
permissions: BTreeMap<User, PubUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
permissions: BTreeMap<User, PubUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn sdata_set_priv_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address,
permissions: BTreeMap<PublicKey, PrivUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
permissions: BTreeMap<PublicKey, PrivUserPermissions>
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_sdata_owner<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<Owner, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<Owner, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn sdata_set_owner<'life0, 'async_trait>(
&'life0 self,
address: Address,
owner: PublicKey
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
owner: PublicKey
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn delete_sdata<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_mdata_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<PublicKey, PermissionSet>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<PublicKey, PermissionSet>, CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn set_mdata_user_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address,
user: PublicKey,
permissions: PermissionSet,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
user: PublicKey,
permissions: PermissionSet,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn del_mdata_user_permissions<'life0, 'async_trait>(
&'life0 self,
address: Address,
user: PublicKey,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
address: Address,
user: PublicKey,
version: u64
) -> Pin<Box<dyn Future<Output = Result<(), CoreError>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: 'async_trait,
fn change_mdata_owner(
&self,
name: XorName,
tag: u64,
new_owner: PublicKey,
version: u64
) -> Result<(), CoreError>
[src]
&self,
name: XorName,
tag: u64,
new_owner: PublicKey,
version: u64
) -> Result<(), CoreError>
impl Clone for AuthClient
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AuthClient
[src]
Auto Trait Implementations
impl !RefUnwindSafe for AuthClient
impl Send for AuthClient
impl Sync for AuthClient
impl Unpin for AuthClient
impl !UnwindSafe for AuthClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static>
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send,
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync,
T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync,
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,