pub enum BlockPortCtx {
None,
Id(BlockId),
Name(String),
}Expand description
Description of the Block under which an [InvalidMessagePort] or
[InvalidStreamPort] error occurred.
Variants§
None
BlockId is not specified
Id(BlockId)
Block is identified by its ID in the Flowgraph
Name(String)
Block is identified by its type_name
Trait Implementations§
Source§impl Clone for BlockPortCtx
impl Clone for BlockPortCtx
Source§fn clone(&self) -> BlockPortCtx
fn clone(&self) -> BlockPortCtx
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockPortCtx
impl Debug for BlockPortCtx
Source§impl Display for BlockPortCtx
impl Display for BlockPortCtx
Source§impl From<&(dyn Block + 'static)> for BlockPortCtx
impl From<&(dyn Block + 'static)> for BlockPortCtx
Source§impl PartialEq for BlockPortCtx
impl PartialEq for BlockPortCtx
impl Eq for BlockPortCtx
impl StructuralPartialEq for BlockPortCtx
Auto Trait Implementations§
impl Freeze for BlockPortCtx
impl RefUnwindSafe for BlockPortCtx
impl Send for BlockPortCtx
impl Sync for BlockPortCtx
impl Unpin for BlockPortCtx
impl UnwindSafe for BlockPortCtx
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