[−][src]Struct node_replication::ReplicaToken
A token handed out to threads registered with replicas.
Note
Ideally this would be an affine type and returned again by
execute and execute_ro. However it feels like this would
hurt API ergonomics a lot.
Implementations
impl ReplicaToken[src]
Trait Implementations
impl Clone for ReplicaToken[src]
fn clone(&self) -> ReplicaToken[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ReplicaToken[src]
impl Debug for ReplicaToken[src]
impl PartialEq<ReplicaToken> for ReplicaToken[src]
fn eq(&self, other: &ReplicaToken) -> bool[src]
fn ne(&self, other: &ReplicaToken) -> bool[src]
impl !Send for ReplicaToken[src]
To make it harder to use the same ReplicaToken on multiple threads.
impl StructuralPartialEq for ReplicaToken[src]
Auto Trait Implementations
impl RefUnwindSafe for ReplicaToken
impl Sync for ReplicaToken
impl Unpin for ReplicaToken
impl UnwindSafe for ReplicaToken
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,