pub enum OnlyRunResult {
PermissionDenied,
SettingError,
CompileError(String),
InternalError(String),
RuntimeError(ProcessResource),
MemoryLimitExceeded(ProcessResource),
TimeLimitExceeded(ProcessResource),
OutputLimitExceeded(ProcessResource),
Ok(ProcessResource),
}
Variants§
PermissionDenied
SettingError
CompileError(String)
InternalError(String)
RuntimeError(ProcessResource)
MemoryLimitExceeded(ProcessResource)
TimeLimitExceeded(ProcessResource)
OutputLimitExceeded(ProcessResource)
Ok(ProcessResource)
Implementations§
Source§impl OnlyRunResult
impl OnlyRunResult
Trait Implementations§
Source§impl Clone for OnlyRunResult
impl Clone for OnlyRunResult
Source§fn clone(&self) -> OnlyRunResult
fn clone(&self) -> OnlyRunResult
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 OnlyRunResult
impl Debug for OnlyRunResult
Source§impl Display for OnlyRunResult
impl Display for OnlyRunResult
Source§impl From<CompileResult> for OnlyRunResult
impl From<CompileResult> for OnlyRunResult
Source§fn from(i: CompileResult) -> Self
fn from(i: CompileResult) -> Self
Converts to this type from the input type.
Source§impl From<InitExeResourceResult> for OnlyRunResult
impl From<InitExeResourceResult> for OnlyRunResult
Source§fn from(i: InitExeResourceResult) -> Self
fn from(i: InitExeResourceResult) -> Self
Converts to this type from the input type.
Source§impl From<RunToEndResult> for OnlyRunResult
impl From<RunToEndResult> for OnlyRunResult
Source§fn from(i: RunToEndResult) -> Self
fn from(i: RunToEndResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OnlyRunResult
impl RefUnwindSafe for OnlyRunResult
impl Send for OnlyRunResult
impl Sync for OnlyRunResult
impl Unpin for OnlyRunResult
impl UnwindSafe for OnlyRunResult
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