[−][src]Struct paxakos::NodeHandle
A remote handle for a paxakos Node
.
Implementations
impl<S, R, C> NodeHandle<S, R, C> where
S: State,
R: RoundNum,
C: CoordNum,
[src]
S: State,
R: RoundNum,
C: CoordNum,
pub fn status(&self) -> impl Future<Output = Result<NodeStatus, ()>>
[src]
pub fn prepare_snapshot(
&self
) -> impl Future<Output = Result<Snapshot<S, R, C>, PrepareSnapshotError>>
[src]
&self
) -> impl Future<Output = Result<Snapshot<S, R, C>, PrepareSnapshotError>>
pub fn affirm_snapshot(
&self,
snapshot: Snapshot<S, R, C>
) -> impl Future<Output = Result<(), AffirmSnapshotError>>
[src]
&self,
snapshot: Snapshot<S, R, C>
) -> impl Future<Output = Result<(), AffirmSnapshotError>>
pub fn install_snapshot(
&self,
snapshot: Snapshot<S, R, C>
) -> impl Future<Output = Result<(), InstallSnapshotError>>
[src]
&self,
snapshot: Snapshot<S, R, C>
) -> impl Future<Output = Result<(), InstallSnapshotError>>
pub fn read_stale(&self) -> impl Future<Output = Result<Arc<S>, ReadStaleError>>
[src]
pub fn append<I: Into<Arc<LogEntryOf<S>>>>(
&self,
log_entry: I,
args: AppendArgs<R>
) -> impl Future<Output = Result<Commit<S>, AppendError>>
[src]
&self,
log_entry: I,
args: AppendArgs<R>
) -> impl Future<Output = Result<Commit<S>, AppendError>>
Trait Implementations
impl<S, R, C> Admin for NodeHandle<S, R, C> where
S: State,
R: RoundNum,
C: CoordNum,
[src]
S: State,
R: RoundNum,
C: CoordNum,
impl<S: Clone, R: Clone, C: Clone> Clone for NodeHandle<S, R, C> where
S: State,
R: RoundNum,
C: CoordNum,
[src]
S: State,
R: RoundNum,
C: CoordNum,
fn clone(&self) -> NodeHandle<S, R, C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S, R, C> Debug for NodeHandle<S, R, C> where
S: State,
R: RoundNum,
C: CoordNum,
[src]
S: State,
R: RoundNum,
C: CoordNum,
Auto Trait Implementations
impl<S, R, C> !RefUnwindSafe for NodeHandle<S, R, C>
impl<S, R, C> Send for NodeHandle<S, R, C> where
<<S as State>::LogEntry as LogEntry>::Id: Send,
<S as State>::LogEntry: LogEntry + Send + Sync,
<S as State>::Node: Send,
<S as State>::Outcome: Send,
<<S as State>::LogEntry as LogEntry>::Id: Send,
<S as State>::LogEntry: LogEntry + Send + Sync,
<S as State>::Node: Send,
<S as State>::Outcome: Send,
impl<S, R, C> Sync for NodeHandle<S, R, C> where
<<S as State>::LogEntry as LogEntry>::Id: Send,
<S as State>::LogEntry: LogEntry + Send + Sync,
<S as State>::Node: Send,
<S as State>::Outcome: Send,
<<S as State>::LogEntry as LogEntry>::Id: Send,
<S as State>::LogEntry: LogEntry + Send + Sync,
<S as State>::Node: Send,
<S as State>::Outcome: Send,
impl<S, R, C> Unpin for NodeHandle<S, R, C>
impl<S, R, C> !UnwindSafe for NodeHandle<S, R, C>
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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,