Enum aptos_logger_link::SecurityEvent
source · pub enum SecurityEvent {
Show 14 variants
InvalidTransactionMempool,
InvalidNetworkEventMempool,
ConsensusInvalidMessage,
ConsensusEquivocatingVote,
InvalidConsensusProposal,
InvalidConsensusRound,
InvalidSyncInfoMsg,
InvalidRetrievedBlock,
InvalidBlock,
StateSyncInvalidChunk,
InvalidNetworkEventHC,
InvalidHealthCheckerMsg,
InvalidNetworkEvent,
NoiseHandshake,
}
Variants
InvalidTransactionMempool
Mempool received a transaction from another peer with an invalid signature
InvalidNetworkEventMempool
Mempool received an invalid network event
ConsensusInvalidMessage
Consensus received an invalid message (not well-formed, invalid vote data or incorrect signature)
ConsensusEquivocatingVote
Consensus received an equivocating vote
InvalidConsensusProposal
Consensus received an invalid proposal
InvalidConsensusRound
Consensus received an invalid new round message
InvalidSyncInfoMsg
Consensus received an invalid sync info message
InvalidRetrievedBlock
A received block is invalid
InvalidBlock
A block being committed or executed is invalid
StateSyncInvalidChunk
Invalid chunk of transactions received
InvalidNetworkEventHC
HealthChecker received an invalid network event
InvalidHealthCheckerMsg
HealthChecker received an invalid message
InvalidNetworkEvent
Network received an invalid message from a remote peer
NoiseHandshake
A failed noise handshake that’s either a clear bug or indicates some security issue.
Trait Implementations
sourceimpl Clone for SecurityEvent
impl Clone for SecurityEvent
sourcefn clone(&self) -> SecurityEvent
fn clone(&self) -> SecurityEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SecurityEvent
impl Debug for SecurityEvent
sourceimpl<'de> Deserialize<'de> for SecurityEvent
impl<'de> Deserialize<'de> for SecurityEvent
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Schema for SecurityEvent
impl Schema for SecurityEvent
sourceimpl Serialize for SecurityEvent
impl Serialize for SecurityEvent
impl Copy for SecurityEvent
Auto Trait Implementations
impl RefUnwindSafe for SecurityEvent
impl Send for SecurityEvent
impl Sync for SecurityEvent
impl Unpin for SecurityEvent
impl UnwindSafe for SecurityEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more