Struct safe_core::ipc::resp::AccessContInfo
[−]
[src]
pub struct AccessContInfo { pub id: XorName, pub tag: u64, pub nonce: Nonce, }
Access container
Fields
id: XorName
ID
tag: u64
Type tag
nonce: Nonce
Nonce
Methods
impl AccessContInfo
[src]
fn into_repr_c(self) -> AccessContInfo
[src]
Consumes the object and returns the wrapped raw pointer
You're now responsible for freeing this memory once you're done.
fn into_mdata_info(self, enc_key: Key) -> MDataInfo
[src]
Creates MDataInfo
from this AccessContInfo
fn from_mdata_info(md: &MDataInfo) -> Result<AccessContInfo, IpcError>
[src]
Creates an AccessContInfo
from a given MDataInfo
Trait Implementations
impl Clone for AccessContInfo
[src]
fn clone(&self) -> AccessContInfo
[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 AccessContInfo
[src]
impl Eq for AccessContInfo
[src]
impl PartialEq for AccessContInfo
[src]
fn eq(&self, __arg_0: &AccessContInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AccessContInfo) -> bool
[src]
This method tests for !=
.
impl ReprC for AccessContInfo
[src]
type C = AccessContInfo
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