pub struct CapturedOutput { /* private fields */ }Expand description
Captured output from effect handlers (e.g., Console Print).
Clone is cheap (Arc-backed). Thread-safe for use across spawn_blocking.
Implementations§
Trait Implementations§
Source§impl Clone for CapturedOutput
impl Clone for CapturedOutput
Source§fn clone(&self) -> CapturedOutput
fn clone(&self) -> CapturedOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CapturedOutput
impl Default for CapturedOutput
Source§fn default() -> CapturedOutput
fn default() -> CapturedOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CapturedOutput
impl RefUnwindSafe for CapturedOutput
impl Send for CapturedOutput
impl Sync for CapturedOutput
impl Unpin for CapturedOutput
impl UnsafeUnpin for CapturedOutput
impl UnwindSafe for CapturedOutput
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