pub struct RaftEnvelope {
pub from: usize,
pub to: usize,
pub message: RaftMessage,
}Fields§
§from: usize§to: usize§message: RaftMessageTrait Implementations§
Source§impl Clone for RaftEnvelope
impl Clone for RaftEnvelope
Source§impl Debug for RaftEnvelope
impl Debug for RaftEnvelope
impl Eq for RaftEnvelope
Source§impl PartialEq for RaftEnvelope
impl PartialEq for RaftEnvelope
impl StructuralPartialEq for RaftEnvelope
Auto Trait Implementations§
impl Forget for RaftEnvelope
impl Freeze for RaftEnvelopewhere
*const u8 is !null: Freeze,
PhantomData<RaftEntry>: Freeze,
PhantomData<String>: Freeze,
PhantomData<JournalVersion>: Freeze,
PhantomData<Option<Vec<String>>>: Freeze,
impl Move for RaftEnvelope
impl RefUnwindSafe for RaftEnvelope
impl Send for RaftEnvelopewhere
RawVecInner: Send,
impl Sync for RaftEnvelopewhere
RawVecInner: Sync,
impl Unpin for RaftEnvelope
impl UnsafeUnpin for RaftEnvelopewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<RaftEntry>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<JournalVersion>: UnsafeUnpin,
PhantomData<Option<Vec<String>>>: UnsafeUnpin,
impl UnwindSafe for RaftEnvelopewhere
RawVecInner: 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