Struct swift_runtime_sys::root::std::system_error
source · #[repr(C, align(8))]pub struct system_error {
pub _bindgen_opaque_blob: [u64; 4],
}
Fields§
§_bindgen_opaque_blob: [u64; 4]
Implementations§
source§impl system_error
impl system_error
pub unsafe fn new(__ec: error_code, __what_arg: *const string) -> Self
pub unsafe fn new1(__ec: error_code, __what_arg: *const c_char) -> Self
pub unsafe fn new2(__ec: error_code) -> Self
pub unsafe fn new3( __ev: c_int, __ecat: *const error_category, __what_arg: *const string, ) -> Self
pub unsafe fn new4( __ev: c_int, __ecat: *const error_category, __what_arg: *const c_char, ) -> Self
pub unsafe fn new5(__ev: c_int, __ecat: *const error_category) -> Self
Trait Implementations§
source§impl Clone for system_error
impl Clone for system_error
source§fn clone(&self) -> system_error
fn clone(&self) -> system_error
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 system_error
impl Debug for system_error
impl Copy for system_error
Auto Trait Implementations§
impl Freeze for system_error
impl RefUnwindSafe for system_error
impl Send for system_error
impl Sync for system_error
impl Unpin for system_error
impl UnwindSafe for system_error
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)