pub struct Panic<T> { /* private fields */ }Expand description
Allows creating the Process computation that panics with the specified message.
Trait Implementations§
Source§impl<T> Process for Panic<T>
impl<T> Process for Panic<T>
Source§fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
Bind the current computation with its continuation within the resulting computation.
Source§fn map<B, F>(self, f: F) -> Map<Self, B, F>
fn map<B, F>(self, f: F) -> Map<Self, B, F>
Map the current computation using the specified transform.
Source§fn zip<U>(self, other: U) -> Zip<Self, U>
fn zip<U>(self, other: U) -> Zip<Self, U>
Zip the current computation with another one within the resulting computation.
Source§fn finally<U>(self, finalization: U) -> Finally<Self, U>
fn finally<U>(self, finalization: U) -> Finally<Self, U>
Finalize the current computation regardless of canceling it or not.
Source§fn run_using_id(self, pid: Grc<ProcessId>) -> Run<Self>
fn run_using_id(self, pid: Grc<ProcessId>) -> Run<Self>
Run the
Process computation using the specified process identifier.Source§fn into_boxed(self) -> ProcessBox<Self::Item>
fn into_boxed(self) -> ProcessBox<Self::Item>
Convert into a boxed value.
Auto Trait Implementations§
impl<T> Freeze for Panic<T>
impl<T> RefUnwindSafe for Panic<T>where
T: RefUnwindSafe,
impl<T> Send for Panic<T>where
T: Send,
impl<T> Sync for Panic<T>where
T: Sync,
impl<T> Unpin for Panic<T>where
T: Unpin,
impl<T> UnsafeUnpin for Panic<T>
impl<T> UnwindSafe for Panic<T>where
T: 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