Trait VeraPortalServer

pub trait VeraPortalServer: VeraPortal {
    // Required method
    fn verify_user_ptr<T>(ptr: *const T) -> bool;

    // Provided method
    unsafe fn from_syscall(
        kind: u64,
        arg0: u64,
        arg1: u64,
        arg2: u64,
        arg3: u64,
    ) -> u64 { ... }
}

Required Methods§

fn verify_user_ptr<T>(ptr: *const T) -> bool

Check that the user’s ptr is correct

Provided Methods§

unsafe fn from_syscall( kind: u64, arg0: u64, arg1: u64, arg2: u64, arg3: u64, ) -> u64

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§