Struct kannon::task::group::GroupHandle [−][src]
pub struct GroupHandle { /* fields omitted */ }
Handle type for the group.
Implementations
impl GroupHandle
[src]
impl GroupHandle
[src]pub fn value_as_ref<'a>(&'a self) -> Option<GroupAccessor<'a>>
[src]
Access to the group execusively and return accessor GroupAccessor
item.
If actual group item is invalidated, do nothing just return None
value.
When group is already locked by other context, it waits until locking is end.
Be careful not causing dead-lock.
pub fn value_as_mut<'a>(&'a mut self) -> Option<GroupAccessorMut<'a>>
[src]
Access to the group execusively and return accessor GroupAccessorMut
item.
If actual group item is invalidated, do nothing just return None
value.
When group is already locked by other context, it waits until locking is end.
Be careful not causing dead-lock.
pub fn is_released(&self) -> bool
[src]
Check this group is released or not.
pub fn id(&self) -> usize
[src]
Return unique id of group.
Trait Implementations
impl Clone for GroupHandle
[src]
impl Clone for GroupHandle
[src]fn clone(&self) -> GroupHandle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for GroupHandle
impl RefUnwindSafe for GroupHandle
impl Send for GroupHandle
impl Send for GroupHandle
impl Sync for GroupHandle
impl Sync for GroupHandle
impl Unpin for GroupHandle
impl Unpin for GroupHandle
impl UnwindSafe for GroupHandle
impl UnwindSafe for GroupHandle