#[repr(C)]pub enum CSmlErrc {
Ok = 0,
Syntax = 1,
FeatureDisabled = 2,
VersionMismatch = 3,
Contract = 4,
IncludeLoop = 5,
Io = 6,
Utf8 = 7,
Internal = 8,
}Expand description
与 sml_rs.h 的 sml_errc 一一对应。
Variants§
Ok = 0
Syntax = 1
FeatureDisabled = 2
VersionMismatch = 3
Contract = 4
IncludeLoop = 5
Io = 6
Utf8 = 7
Internal = 8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CSmlErrc
impl RefUnwindSafe for CSmlErrc
impl Send for CSmlErrc
impl Sync for CSmlErrc
impl Unpin for CSmlErrc
impl UnsafeUnpin for CSmlErrc
impl UnwindSafe for CSmlErrc
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