pub struct RootWake(/* private fields */);Expand description
Whether the session’s root lane is woken by the ends of its work; clones share it. Off until the composer turns it on.
Implementations§
Source§impl RootWake
impl RootWake
pub fn set(&self, woken: bool)
pub fn root_woken(&self) -> bool
Sourcepub fn woken(&self, lane: &str) -> bool
pub fn woken(&self, lane: &str) -> bool
Whether the host wakes lane when its work ends: only the root lane, and only while the root is woken.
Sourcepub fn collect_mode(&self, lane: &str) -> CollectMode
pub fn collect_mode(&self, lane: &str) -> CollectMode
How lane’s rlm.collect treats running children.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RootWake
impl Freeze for RootWake
impl Move for RootWake
impl RefUnwindSafe for RootWake
impl Send for RootWake
impl Sync for RootWake
impl Unpin for RootWake
impl UnsafeUnpin for RootWake
impl UnwindSafe for RootWake
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