Struct safe_core::ipc::resp::AuthGranted
[−]
[src]
pub struct AuthGranted { pub app_keys: AppKeys, pub bootstrap_config: BootstrapConfig, pub access_container: AccessContInfo, }
It represents the authentication response.
Fields
app_keys: AppKeys
The access keys.
bootstrap_config: BootstrapConfig
The crust config.
Useful to reuse bootstrap nodes and speed up access.
access_container: AccessContInfo
Access container
Methods
impl AuthGranted
[src]
fn into_repr_c(self) -> Result<AuthGranted, SerialisationError>
Consumes the object and returns the wrapped raw pointer
You're now responsible for freeing this memory once you're done.
Trait Implementations
impl Clone for AuthGranted
[src]
fn clone(&self) -> AuthGranted
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for AuthGranted
[src]
impl PartialEq for AuthGranted
[src]
fn eq(&self, __arg_0: &AuthGranted) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthGranted) -> bool
This method tests for !=
.
impl Eq for AuthGranted
[src]
impl ReprC for AuthGranted
[src]
type C = *const AuthGranted
C representation of the type
type Error = IpcError
Error type
unsafe fn clone_from_repr_c(repr_c: Self::C) -> Result<Self, Self::Error>
Converts from a raw type into an owned type by cloning data