Struct safe_core::ipc::resp::AuthGranted
[−]
[src]
pub struct AuthGranted { pub app_keys: AppKeys, pub bootstrap_config: BootstrapConfig, pub access_container_info: AccessContInfo, pub access_container_entry: AccessContainerEntry, }
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_info: AccessContInfo
Access container info
access_container_entry: AccessContainerEntry
Access container entry
Methods
impl AuthGranted
[src]
fn into_repr_c(self) -> Result<AuthGranted, IpcError>
[src]
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
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AuthGranted
[src]
impl PartialEq for AuthGranted
[src]
fn eq(&self, __arg_0: &AuthGranted) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthGranted) -> bool
[src]
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>
[src]
Converts from a raw type into an owned type by cloning data