pub enum CallbackResult {
Success,
Failure,
}
Variants§
Trait Implementations§
source§impl Clone for CallbackResult
impl Clone for CallbackResult
source§fn clone(&self) -> CallbackResult
fn clone(&self) -> CallbackResult
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 CallbackResult
impl Debug for CallbackResult
source§impl From<CallbackResult> for i32
impl From<CallbackResult> for i32
source§fn from(input: CallbackResult) -> i32
fn from(input: CallbackResult) -> i32
Converts to this type from the input type.
source§impl<T, E> From<Result<T, E>> for CallbackResult
impl<T, E> From<Result<T, E>> for CallbackResult
source§fn from(result: Result<T, E>) -> CallbackResult
fn from(result: Result<T, E>) -> CallbackResult
Converts to this type from the input type.
source§impl PartialEq for CallbackResult
impl PartialEq for CallbackResult
source§fn eq(&self, other: &CallbackResult) -> bool
fn eq(&self, other: &CallbackResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CallbackResult
impl StructuralPartialEq for CallbackResult
Auto Trait Implementations§
impl Freeze for CallbackResult
impl RefUnwindSafe for CallbackResult
impl Send for CallbackResult
impl Sync for CallbackResult
impl Unpin for CallbackResult
impl UnwindSafe for CallbackResult
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