pub enum ModificationResponse<T> {
Entity(T),
Task(AsyncTask),
Empty,
}Expand description
Outcome of a mutating Redfish operation.
Variants§
Entity(T)
Request completed synchronously
Task(AsyncTask)
Requst completed asynchronously, with the provided ODataId to poll for completion
Empty
Request completed successfully with no response body
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ModificationResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for ModificationResponse<T>where
T: RefUnwindSafe,
impl<T> Send for ModificationResponse<T>where
T: Send,
impl<T> Sync for ModificationResponse<T>where
T: Sync,
impl<T> Unpin for ModificationResponse<T>where
T: Unpin,
impl<T> UnsafeUnpin for ModificationResponse<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ModificationResponse<T>where
T: UnwindSafe,
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