#[repr(C)]pub struct DiplomatResult<T, E> {
    value: DiplomatResultValue<T, E>,
    pub is_ok: bool,
}Expand description
Fields§
§value: DiplomatResultValue<T, E>§is_ok: boolTrait Implementations§
Source§impl<T, E> Drop for DiplomatResult<T, E>
 
impl<T, E> Drop for DiplomatResult<T, E>
Source§impl<T, E> From<DiplomatResult<T, E>> for Result<T, E>
 
impl<T, E> From<DiplomatResult<T, E>> for Result<T, E>
Source§fn from(result: DiplomatResult<T, E>) -> Result<T, E>
 
fn from(result: DiplomatResult<T, E>) -> Result<T, E>
Converts to this type from the input type.
Auto Trait Implementations§
impl<T, E> Freeze for DiplomatResult<T, E>
impl<T, E> RefUnwindSafe for DiplomatResult<T, E>where
    T: RefUnwindSafe,
    E: RefUnwindSafe,
impl<T, E> Send for DiplomatResult<T, E>
impl<T, E> Sync for DiplomatResult<T, E>
impl<T, E> Unpin for DiplomatResult<T, E>
impl<T, E> UnwindSafe for DiplomatResult<T, E>where
    T: UnwindSafe,
    E: UnwindSafe,
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