pub enum PinManagementMessage {
RequestAddInputPin {
suggested_name: Option<String>,
response_tx: Sender<Result<InputPin, StreamKitError>>,
},
AddedInputPin {
pin: InputPin,
channel: Receiver<Packet>,
},
RemoveInputPin {
pin_name: String,
},
RequestAddOutputPin {
suggested_name: Option<String>,
response_tx: Sender<Result<OutputPin, StreamKitError>>,
},
AddedOutputPin {
pin: OutputPin,
channel: Sender<Packet>,
},
RemoveOutputPin {
pin_name: String,
},
}Expand description
Dynamic pin management messages for runtime graph modifications.
These messages allow the engine to add/remove pins dynamically in response to connection changes in dynamic pipelines.
Variants§
RequestAddInputPin
Request to create a new input pin. Node responds via oneshot channel with pin definition or error.
AddedInputPin
Engine has created the pin and channel, node should start receiving.
RemoveInputPin
Remove an input pin (e.g., connection deleted).
RequestAddOutputPin
Request to create a new output pin (less common).
AddedOutputPin
Engine has created the pin and channel, node should start sending.
RemoveOutputPin
Remove an output pin.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PinManagementMessage
impl !RefUnwindSafe for PinManagementMessage
impl Send for PinManagementMessage
impl Sync for PinManagementMessage
impl Unpin for PinManagementMessage
impl !UnwindSafe for PinManagementMessage
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