pub enum ViewerResult {
Blocking(ViewerExitStatus),
NonBlocking(ViewerHandle),
}Expand description
The result of opening a viewer.
Variants§
Blocking(ViewerExitStatus)
The viewer was opened in blocking mode and has completed.
NonBlocking(ViewerHandle)
The viewer was opened in non-blocking mode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViewerResult
impl RefUnwindSafe for ViewerResult
impl Send for ViewerResult
impl Sync for ViewerResult
impl Unpin for ViewerResult
impl UnsafeUnpin for ViewerResult
impl UnwindSafe for ViewerResult
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