Enum xous::definitions::Result [−][src]
#[repr(C)] pub enum Result {}Show variants
Ok, Error(Error), MemoryAddress(MemoryAddress), MemoryRange(MemoryRange), ReadyThreads(usize, usize, usize, usize, usize, usize, usize), ResumeProcess, ServerID(SID), ConnectionID(CID), NewServerID(SID, CID), Message(MessageEnvelope), ThreadID(TID), ProcessID(PID), Unimplemented, BlockedProcess, Scalar1(usize), Scalar2(usize, usize), WouldBlock, None, MemoryReturned(Option<MemorySize>, Option<MemorySize>), UnknownResult(usize, usize, usize, usize, usize, usize, usize),
Variants
Error(Error)
MemoryAddress(MemoryAddress)
MemoryRange(MemoryRange)
ServerID(SID)
ConnectionID(CID)
Message(MessageEnvelope)
ThreadID(TID)
ProcessID(PID)
The requested system call is unimplemented
The process is blocked and should perform the read() again. This is only
ever seen in Hosted
mode, because when running natively the kernel
simply never schedules the process.
Scalar1(usize)
A scalar with one value
A scalar with two values
The syscall should be attempted again. This is returned when calling
functions such as try_connect()
and try_send()
that may block.
The message was successful but no value was returned.
MemoryReturned(Option<MemorySize>, Option<MemorySize>)
Memory was returned, and more information is available.