pub struct StellarKernel<C: Consensus, D: Driver> { /* private fields */ }Implementations§
Source§impl<C: Consensus, D: Driver> StellarKernel<C, D>
impl<C: Consensus, D: Driver> StellarKernel<C, D>
pub fn new( node_id: SCPNodeID, is_validator: bool, qset: SCPQuorumSet, consensus: C, driver: D, ) -> StellarKernel<C, D>
pub fn proto(&mut self) -> StellarProto<'_, C, D>
Auto Trait Implementations§
impl<C, D> Freeze for StellarKernel<C, D>where
ConsensusDriver<C, D>: Freeze,
impl<C, D> RefUnwindSafe for StellarKernel<C, D>where
ConsensusDriver<C, D>: RefUnwindSafe,
impl<C, D> Send for StellarKernel<C, D>where
ConsensusDriver<C, D>: Send,
impl<C, D> Sync for StellarKernel<C, D>where
ConsensusDriver<C, D>: Sync,
impl<C, D> Unpin for StellarKernel<C, D>where
ConsensusDriver<C, D>: Unpin,
impl<C, D> UnsafeUnpin for StellarKernel<C, D>where
ConsensusDriver<C, D>: UnsafeUnpin,
impl<C, D> UnwindSafe for StellarKernel<C, D>where
ConsensusDriver<C, D>: 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