Struct BarrierWaitResult

struct BarrierWaitResult(_)

A BarrierWaitResult is returned by wait when all tasks in the Barrier have rendezvoused.

Implementations

impl BarrierWaitResult

fn is_leader(self: &Self) -> bool

Returns true if this task from wait is the "leader task".

Only one task will have true returned from their result, all other tasks will have false returned.

impl Clone for BarrierWaitResult

fn clone(self: &Self) -> BarrierWaitResult

impl Debug for BarrierWaitResult

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for BarrierWaitResult

impl RefUnwindSafe for BarrierWaitResult

impl Send for BarrierWaitResult

impl Sync for BarrierWaitResult

impl Unpin for BarrierWaitResult

impl UnsafeUnpin for BarrierWaitResult

impl UnwindSafe for BarrierWaitResult

impl<T> Any for BarrierWaitResult

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for BarrierWaitResult

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for BarrierWaitResult

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for BarrierWaitResult

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for BarrierWaitResult

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for BarrierWaitResult

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for BarrierWaitResult

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for BarrierWaitResult

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for BarrierWaitResult

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>