pub enum SyscallSignature {
Fallible(FallibleSyscallSignature),
Infallible(InfallibleSyscallSignature),
System(SystemSyscallSignature),
}
Expand description
Syscall signature.
Variants§
Fallible(FallibleSyscallSignature)
Infallible(InfallibleSyscallSignature)
System(SystemSyscallSignature)
Implementations§
Source§impl SyscallSignature
impl SyscallSignature
pub fn gr_fallible(fallible: impl Into<FallibleSyscallSignature>) -> Self
pub fn gr_infallible(infallible: impl Into<InfallibleSyscallSignature>) -> Self
pub fn system(system: impl Into<SystemSyscallSignature>) -> Self
pub fn params(&self) -> &[ParamType]
pub fn results(&self) -> Option<&[ValueType]>
pub fn func_type(&self) -> FunctionType
pub fn is_fallible(&self) -> bool
pub fn is_infallible(&self) -> bool
pub fn is_system(&self) -> bool
Trait Implementations§
Source§impl Clone for SyscallSignature
impl Clone for SyscallSignature
Source§fn clone(&self) -> SyscallSignature
fn clone(&self) -> SyscallSignature
Returns a copy 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 SyscallSignature
impl Debug for SyscallSignature
Source§impl Hash for SyscallSignature
impl Hash for SyscallSignature
Source§impl PartialEq for SyscallSignature
impl PartialEq for SyscallSignature
impl Eq for SyscallSignature
impl StructuralPartialEq for SyscallSignature
Auto Trait Implementations§
impl Freeze for SyscallSignature
impl RefUnwindSafe for SyscallSignature
impl Send for SyscallSignature
impl Sync for SyscallSignature
impl Unpin for SyscallSignature
impl UnwindSafe for SyscallSignature
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