pub struct GetLog<T: RaftDataType, E: RaftError> {
pub term: u64,
pub index: u64,
/* private fields */
}Fields§
§term: u64§index: u64Trait Implementations§
Source§impl<T: PartialEq + RaftDataType, E: PartialEq + RaftError> PartialEq for GetLog<T, E>
impl<T: PartialEq + RaftDataType, E: PartialEq + RaftError> PartialEq for GetLog<T, E>
impl<T: Eq + RaftDataType, E: Eq + RaftError> Eq for GetLog<T, E>
impl<T: RaftDataType, E: RaftError> StructuralPartialEq for GetLog<T, E>
Auto Trait Implementations§
impl<T, E> Freeze for GetLog<T, E>
impl<T, E> RefUnwindSafe for GetLog<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for GetLog<T, E>
impl<T, E> Sync for GetLog<T, E>
impl<T, E> Unpin for GetLog<T, E>
impl<T, E> UnsafeUnpin for GetLog<T, E>
impl<T, E> UnwindSafe for GetLog<T, E>where
T: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more