pub struct ComposableOperation<Op: UPnPOperation> { /* private fields */ }Expand description
A composable operation ready for execution
This represents a fully configured UPnP operation that can be executed directly or composed with other operations through chaining, batching, etc.
§Type Parameters
Op- The UPnP operation type
Implementations§
Source§impl<Op: UPnPOperation> ComposableOperation<Op>
impl<Op: UPnPOperation> ComposableOperation<Op>
Sourcepub fn validation_level(&self) -> ValidationLevel
pub fn validation_level(&self) -> ValidationLevel
Get the validation level used for this operation
Sourcepub fn metadata(&self) -> &OperationMetadata
pub fn metadata(&self) -> &OperationMetadata
Get the operation metadata
Sourcepub fn build_payload(&self) -> Result<String, ValidationError>
pub fn build_payload(&self) -> Result<String, ValidationError>
Trait Implementations§
Source§impl<Op: UPnPOperation> Clone for ComposableOperation<Op>
impl<Op: UPnPOperation> Clone for ComposableOperation<Op>
Auto Trait Implementations§
impl<Op> Freeze for ComposableOperation<Op>
impl<Op> RefUnwindSafe for ComposableOperation<Op>
impl<Op> Send for ComposableOperation<Op>
impl<Op> Sync for ComposableOperation<Op>
impl<Op> Unpin for ComposableOperation<Op>
impl<Op> UnsafeUnpin for ComposableOperation<Op>
impl<Op> UnwindSafe for ComposableOperation<Op>
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