Struct mssf_core::error::FabricError
source · pub struct FabricError(/* private fields */);
Expand description
Make passing error code to SF api easier. Provides conversion from windows errors or fabric error code to windows_core::Error.
Implementations§
Trait Implementations§
source§impl Clone for FabricError
impl Clone for FabricError
source§fn clone(&self) -> FabricError
fn clone(&self) -> FabricError
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 FabricError
impl Debug for FabricError
source§impl From<FABRIC_ERROR_CODE> for FabricError
impl From<FABRIC_ERROR_CODE> for FabricError
source§fn from(value: FABRIC_ERROR_CODE) -> Self
fn from(value: FABRIC_ERROR_CODE) -> Self
Converts to this type from the input type.
source§impl From<FabricError> for Error
impl From<FabricError> for Error
source§fn from(val: FabricError) -> Self
fn from(val: FabricError) -> Self
Converts to this type from the input type.
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 FabricError
impl From<FabricErrorCode> for FabricError
source§fn from(value: FabricErrorCode) -> Self
fn from(value: FabricErrorCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FabricError
impl RefUnwindSafe for FabricError
impl Send for FabricError
impl Sync for FabricError
impl Unpin for FabricError
impl UnwindSafe for FabricError
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§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
)