Struct nebula_fbthrift_raftex_v2::mock::RaftexService [−][src]
Fields
askForVote: askForVote<'mock>
appendLog: appendLog<'mock>
sendSnapshot: sendSnapshot<'mock>
Trait Implementations
impl<'mock> RaftexService for RaftexService<'mock>
[src]
fn askForVote(
&self,
arg_req: &AskForVoteRequest
) -> Pin<Box<dyn Future<Output = Result<AskForVoteResponse, AskForVoteError>> + Send + 'static>>
[src]
&self,
arg_req: &AskForVoteRequest
) -> Pin<Box<dyn Future<Output = Result<AskForVoteResponse, AskForVoteError>> + Send + 'static>>
fn appendLog(
&self,
arg_req: &AppendLogRequest
) -> Pin<Box<dyn Future<Output = Result<AppendLogResponse, AppendLogError>> + Send + 'static>>
[src]
&self,
arg_req: &AppendLogRequest
) -> Pin<Box<dyn Future<Output = Result<AppendLogResponse, AppendLogError>> + Send + 'static>>
fn sendSnapshot(
&self,
arg_req: &SendSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<SendSnapshotResponse, SendSnapshotError>> + Send + 'static>>
[src]
&self,
arg_req: &SendSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<SendSnapshotResponse, SendSnapshotError>> + Send + 'static>>
Auto Trait Implementations
impl<'mock> RefUnwindSafe for RaftexService<'mock>
impl<'mock> Send for RaftexService<'mock>
impl<'mock> Sync for RaftexService<'mock>
impl<'mock> Unpin for RaftexService<'mock>
impl<'mock> UnwindSafe for RaftexService<'mock>
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,
pub 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, 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.
pub 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>,