Enum irust_repl::MainResult
source · pub enum MainResult {
Unit,
Result,
}
Variants§
Unit
fn main() -> () {()}
Result
fn main() -> Result<(), Box?
with no boilerplate
Trait Implementations§
source§impl Clone for MainResult
impl Clone for MainResult
source§fn clone(&self) -> MainResult
fn clone(&self) -> MainResult
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 MainResult
impl Debug for MainResult
source§impl Default for MainResult
impl Default for MainResult
source§fn default() -> MainResult
fn default() -> MainResult
Returns the “default value” for a type. Read more
source§impl Display for MainResult
impl Display for MainResult
source§impl FromStr for MainResult
impl FromStr for MainResult
impl Copy for MainResult
Auto Trait Implementations§
impl RefUnwindSafe for MainResult
impl Send for MainResult
impl Sync for MainResult
impl Unpin for MainResult
impl UnwindSafe for MainResult
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