#[repr(transparent)]pub struct HRESULT(pub i32);
Expand description
An error code value returned by most COM functions.
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
Source§impl From<FabricError> for HRESULT
impl From<FabricError> for HRESULT
Source§fn from(value: FabricError) -> Self
fn from(value: FabricError) -> Self
Converts to this type from the input type.
Source§impl From<FabricErrorCode> for HRESULT
impl From<FabricErrorCode> for HRESULT
Source§fn from(value: FabricErrorCode) -> Self
fn from(value: FabricErrorCode) -> Self
Converts to this type from the input type.
Source§impl From<HRESULT> for FabricError
impl From<HRESULT> for FabricError
Source§impl Ord for HRESULT
impl Ord for HRESULT
Source§impl PartialOrd for HRESULT
impl PartialOrd for HRESULT
impl Copy for HRESULT
impl Eq for HRESULT
impl StructuralPartialEq for HRESULT
Auto Trait Implementations§
impl Freeze for HRESULT
impl RefUnwindSafe for HRESULT
impl Send for HRESULT
impl Sync for HRESULT
impl Unpin for HRESULT
impl UnwindSafe for HRESULT
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