pub enum NetActionResponse {
Success(NetActionResponseData, Vec<NetEvent>),
Error(NetActionError),
}Expand description
The result of performing a network action.
Variants§
Success(NetActionResponseData, Vec<NetEvent>)
Action succeeded, with optional data and a list of events that occurred.
Error(NetActionError)
Action failed with an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetActionResponse
impl RefUnwindSafe for NetActionResponse
impl Send for NetActionResponse
impl Sync for NetActionResponse
impl Unpin for NetActionResponse
impl UnwindSafe for NetActionResponse
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