#[repr(C)]pub enum HandleResult {
Ok(Handle),
Error(Error),
}
Expand description
Describes the result of a function which may return a Handle
if
everything was Ok, or return an Error
if something went wrong.
This is not a standard Rust Result
because they are not #[repr(C)]
.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandleResult
impl RefUnwindSafe for HandleResult
impl Send for HandleResult
impl Sync for HandleResult
impl Unpin for HandleResult
impl UnwindSafe for HandleResult
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