pub enum OperationResult {
Error(Status),
Response(Any),
}Expand description
What an operation ended with.
Variants§
Error(Status)
It failed with this error.
Response(Any)
It succeeded with this result: the resource it acted on, or
google.protobuf.Empty for a delete.
Trait Implementations§
Source§impl Clone for OperationResult
impl Clone for OperationResult
Source§impl Debug for OperationResult
impl Debug for OperationResult
Source§impl PartialEq for OperationResult
impl PartialEq for OperationResult
impl StructuralPartialEq for OperationResult
Auto Trait Implementations§
impl Freeze for OperationResult
impl RefUnwindSafe for OperationResult
impl Send for OperationResult
impl Sync for OperationResult
impl Unpin for OperationResult
impl UnsafeUnpin for OperationResult
impl UnwindSafe for OperationResult
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