pub struct Auth004;Expand description
AUTH-004 — Token transfer without require_auth() on source/destination.
Trait Implementations§
Source§impl AuditRule for Auth004
impl AuditRule for Auth004
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Human-readable description of what the rule checks.
Source§fn check(
&self,
scans: &[FnScan],
_ctx: &AuditContext<'_>,
report: &mut AuditReport,
)
fn check( &self, scans: &[FnScan], _ctx: &AuditContext<'_>, report: &mut AuditReport, )
Run the rule over the scanned functions and record findings.
Auto Trait Implementations§
impl Freeze for Auth004
impl RefUnwindSafe for Auth004
impl Send for Auth004
impl Sync for Auth004
impl Unpin for Auth004
impl UnsafeUnpin for Auth004
impl UnwindSafe for Auth004
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