[−][src]Enum syscalls::SyscallNo
Variants
Implementations
impl SyscallNo
[src]
pub fn name(&self) -> &'static str
[src]
Returns the name of the syscall.
pub fn new(id: usize) -> Option<Self>
[src]
Constructs a SyscallNo
from an ID. Returns None
if the number falls
outside the bounds of possible enum values.
Trait Implementations
impl Clone for SyscallNo
[src]
impl Copy for SyscallNo
[src]
impl Debug for SyscallNo
[src]
impl<'de> Deserialize<'de> for SyscallNo
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for SyscallNo
[src]
impl Eq for SyscallNo
[src]
impl From<i32> for SyscallNo
[src]
impl PartialEq<SyscallNo> for SyscallNo
[src]
impl Serialize for SyscallNo
[src]
impl StructuralEq for SyscallNo
[src]
impl StructuralPartialEq for SyscallNo
[src]
Auto Trait Implementations
impl RefUnwindSafe for SyscallNo
impl Send for SyscallNo
impl Sync for SyscallNo
impl Unpin for SyscallNo
impl UnwindSafe for SyscallNo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,