pub struct AsyncControls(/* private fields */);Expand description
Compact set of controls declared when an async operation starts.
Implementations§
Source§impl AsyncControls
impl AsyncControls
pub const NONE: Self
pub const fn new(control: AsyncControl) -> Self
pub const fn with(self, control: AsyncControl) -> Self
pub const fn contains(self, control: AsyncControl) -> bool
pub fn iter(self) -> impl Iterator<Item = AsyncControl>
Trait Implementations§
Source§impl Clone for AsyncControls
impl Clone for AsyncControls
impl Copy for AsyncControls
Source§impl Debug for AsyncControls
impl Debug for AsyncControls
Source§impl Default for AsyncControls
impl Default for AsyncControls
impl Eq for AsyncControls
Source§impl PartialEq for AsyncControls
impl PartialEq for AsyncControls
impl StructuralPartialEq for AsyncControls
Auto Trait Implementations§
impl Forget for AsyncControls
impl Freeze for AsyncControls
impl Move for AsyncControls
impl RefUnwindSafe for AsyncControls
impl Send for AsyncControls
impl Sync for AsyncControls
impl Unpin for AsyncControls
impl UnsafeUnpin for AsyncControls
impl UnwindSafe for AsyncControls
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