pub enum SecurityViolationType {
ReentrancyAttack,
IntegerOverflow,
AccessControlViolation,
ResourceLimitExceeded,
SandboxViolation,
CallDepthExceeded,
ExternalCallLimitExceeded,
GasLimitExceeded,
MemoryLimitExceeded,
}Expand description
Security violation type
Variants§
ReentrancyAttack
IntegerOverflow
AccessControlViolation
ResourceLimitExceeded
SandboxViolation
CallDepthExceeded
ExternalCallLimitExceeded
GasLimitExceeded
MemoryLimitExceeded
Trait Implementations§
Source§impl Clone for SecurityViolationType
impl Clone for SecurityViolationType
Source§fn clone(&self) -> SecurityViolationType
fn clone(&self) -> SecurityViolationType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecurityViolationType
impl Debug for SecurityViolationType
Source§impl<'de> Deserialize<'de> for SecurityViolationType
impl<'de> Deserialize<'de> for SecurityViolationType
Source§fn 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
Source§impl PartialEq for SecurityViolationType
impl PartialEq for SecurityViolationType
Source§impl Serialize for SecurityViolationType
impl Serialize for SecurityViolationType
impl StructuralPartialEq for SecurityViolationType
Auto Trait Implementations§
impl Freeze for SecurityViolationType
impl RefUnwindSafe for SecurityViolationType
impl Send for SecurityViolationType
impl Sync for SecurityViolationType
impl Unpin for SecurityViolationType
impl UnwindSafe for SecurityViolationType
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