pub enum InputPortState<T> {
Unconnected,
Connected(Receiver<PortEvent<T>>),
Disconnected(Receiver<PortEvent<T>>),
Closed,
}Variants§
Trait Implementations§
Source§impl<T: Debug> Debug for InputPortState<T>
impl<T: Debug> Debug for InputPortState<T>
Source§impl<T> Default for InputPortState<T>
impl<T> Default for InputPortState<T>
Source§fn default() -> InputPortState<T>
fn default() -> InputPortState<T>
Returns the “default value” for a type. Read more
Source§impl<T> Into<PortState> for &InputPortState<T>
impl<T> Into<PortState> for &InputPortState<T>
Auto Trait Implementations§
impl<T> Freeze for InputPortState<T>
impl<T> RefUnwindSafe for InputPortState<T>
impl<T> Send for InputPortState<T>where
T: Send,
impl<T> Sync for InputPortState<T>where
T: Send,
impl<T> Unpin for InputPortState<T>
impl<T> UnwindSafe for InputPortState<T>
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