pub struct RustdvSeq<REQ: 'static, RSP: 'static = REQ> { /* private fields */ }Expand description
A slot holding any sequence with these request/response types — what
create_seq() returns, and what a component declares when the factory
chooses the type. The parallel of RustdvComp.
Implementations§
Source§impl<REQ: 'static, RSP: 'static> RustdvSeq<REQ, RSP>
impl<REQ: 'static, RSP: 'static> RustdvSeq<REQ, RSP>
pub fn new(seq: Box<dyn DynSequence<REQ, RSP>>) -> Self
Sourcepub fn name(&self) -> &'static str
pub fn name(&self) -> &'static str
What this slot holds, by name (D98). "<empty>" before it is filled.
pub async fn start( &mut self, seqr: &Sequencer<REQ, RSP>, ) -> Result<(), SeqError>
pub async fn start_virtual(&mut self) -> Result<(), SeqError>
Trait Implementations§
Auto Trait Implementations§
impl<REQ, RSP = REQ> !RefUnwindSafe for RustdvSeq<REQ, RSP>
impl<REQ, RSP = REQ> !Send for RustdvSeq<REQ, RSP>
impl<REQ, RSP = REQ> !Sync for RustdvSeq<REQ, RSP>
impl<REQ, RSP = REQ> !UnwindSafe for RustdvSeq<REQ, RSP>
impl<REQ, RSP> Freeze for RustdvSeq<REQ, RSP>
impl<REQ, RSP> Unpin for RustdvSeq<REQ, RSP>
impl<REQ, RSP> UnsafeUnpin for RustdvSeq<REQ, RSP>
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