@@ -36,7 +36,7 @@ enum LogEntryEnum<Command> {
}
#[derive(Clone, Debug, Serialize, Deserialize)]
-pub struct LogEntry<Command> {
+pub(crate) struct LogEntry<Command> {
pub index: Index,
pub term: Term,
command: LogEntryEnum<Command>,
@@ -14,7 +14,7 @@ use crate::{Index, Raft, Term};
/// This request is not directly exposed to end users. Instead it is used
/// internally to implement no-commit read-only requests.
#[derive(Debug, Eq, PartialEq)]
-pub enum VerifyAuthorityResult {
+pub(crate) enum VerifyAuthorityResult {
Success(Index),
TermElapsed,
TimedOut,