[][src]Struct safe_app::ipc::AuthGranted

pub struct AuthGranted {
    pub app_keys: AppKeys,
    pub bootstrap_config: HashSet<SocketAddr, RandomState>,
    pub access_container_info: AccessContInfo,
    pub access_container_entry: HashMap<String, (MDataInfo, BTreeSet<Permission>), RandomState>,
}

It represents the authentication response.

Fields

app_keys: AppKeys

The access keys.

bootstrap_config: HashSet<SocketAddr, RandomState>

The crust config. Useful to reuse bootstrap nodes and speed up access.

access_container_info: AccessContInfo

Access container info.

access_container_entry: HashMap<String, (MDataInfo, BTreeSet<Permission>), RandomState>

Access container entry.

Methods

impl AuthGranted[src]

pub fn into_repr_c(self) -> Result<AuthGranted, IpcError>[src]

Construct FFI wrapper for the native Rust object, consuming self.

Trait Implementations

impl Clone for AuthGranted[src]

impl Debug for AuthGranted[src]

impl<'de> Deserialize<'de> for AuthGranted[src]

impl Eq for AuthGranted[src]

impl PartialEq<AuthGranted> for AuthGranted[src]

impl ReprC for AuthGranted[src]

type C = *const AuthGranted

C representation of the type.

type Error = IpcError

Error type.

impl Serialize for AuthGranted[src]

impl StructuralEq for AuthGranted[src]

impl StructuralPartialEq for AuthGranted[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,