pub enum LineStatus {
Free,
Busy(Shared<Receiver<()>>),
}Available on crate feature
line_token only.Expand description
The current status of a line.
Variants§
Free
The line is free.
Busy(Shared<Receiver<()>>)
The line is busy, and the nested future can be used to wait till the line becomes free again.
Auto Trait Implementations§
impl !RefUnwindSafe for LineStatus
impl !UnwindSafe for LineStatus
impl Freeze for LineStatus
impl Send for LineStatus
impl Sync for LineStatus
impl Unpin for LineStatus
impl UnsafeUnpin for LineStatus
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