Struct unbase::network::SlabRef
[−]
[src]
pub struct SlabRef(pub Arc<SlabRefInner>);
A reference to a Slab
The referenced slab may be resident locally or Remotely
Methods
impl SlabRef
[src]
pub fn send(&self, from: &SlabRef, memoref: &MemoRef)
[src]
pub fn get_return_address(&self) -> TransportAddress
[src]
pub fn apply_presence(&self, presence: &SlabPresence) -> bool
[src]
pub fn get_presence_for_remote(
&self,
return_address: &TransportAddress
) -> Vec<SlabPresence>
[src]
&self,
return_address: &TransportAddress
) -> Vec<SlabPresence>
pub fn compare(&self, other: &SlabRef) -> bool
[src]
pub fn clone_for_slab(&self, to_slab: &Slab) -> SlabRef
[src]
Trait Implementations
impl StatefulSerialize for SlabRef
[src]
fn serialize<S>(
&self,
serializer: S,
helper: &SerializeHelper
) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
&self,
serializer: S,
helper: &SerializeHelper
) -> Result<S::Ok, S::Error> where
S: Serializer,
impl Clone for SlabRef
[src]
fn clone(&self) -> SlabRef
[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 Deref for SlabRef
[src]
type Target = SlabRefInner
The resulting type after dereferencing.
fn deref(&self) -> &SlabRefInner
[src]
Dereferences the value.