pub enum SyscallKind {
Vara,
Eth,
}Expand description
Runtime syscall set.
Variants§
Implementations§
Source§impl SyscallKind
impl SyscallKind
Sourcepub fn instrumentable(self) -> impl Iterator<Item = SyscallName>
pub fn instrumentable(self) -> impl Iterator<Item = SyscallName>
Returns all instrumentable syscalls available for this runtime.
Sourcepub fn instrumentable_map(self) -> BTreeMap<String, SyscallName>
pub fn instrumentable_map(self) -> BTreeMap<String, SyscallName>
Returns map of syscall string values to syscall names for this runtime.
Trait Implementations§
Source§impl Clone for SyscallKind
impl Clone for SyscallKind
Source§fn clone(&self) -> SyscallKind
fn clone(&self) -> SyscallKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyscallKind
Source§impl Debug for SyscallKind
impl Debug for SyscallKind
Source§impl Default for SyscallKind
impl Default for SyscallKind
Source§fn default() -> SyscallKind
fn default() -> SyscallKind
Returns the “default value” for a type. Read more
impl Eq for SyscallKind
Source§impl Hash for SyscallKind
impl Hash for SyscallKind
Source§impl PartialEq for SyscallKind
impl PartialEq for SyscallKind
Source§fn eq(&self, other: &SyscallKind) -> bool
fn eq(&self, other: &SyscallKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyscallKind
Auto Trait Implementations§
impl Freeze for SyscallKind
impl RefUnwindSafe for SyscallKind
impl Send for SyscallKind
impl Sync for SyscallKind
impl Unpin for SyscallKind
impl UnsafeUnpin for SyscallKind
impl UnwindSafe for SyscallKind
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