pub struct PublishOutcome {
pub published: Vec<Published>,
pub threads: Result<Vec<RemoteThread>, ForgeError>,
pub failed: Option<ForgeError>,
}Expand description
What one publish brings back: the forge’s record of each finding it took, and the threads fetched afterwards so the twins can be shown.
The refetch is its own result. The comments are on the request the moment the publish returned; a refetch that then fails must not read as nothing having been sent, or the next publish sends it all again.
Fields§
§published: Vec<Published>§threads: Result<Vec<RemoteThread>, ForgeError>§failed: Option<ForgeError>What stopped the adapter after part of the batch had gone up.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PublishOutcome
impl !UnwindSafe for PublishOutcome
impl Freeze for PublishOutcome
impl Send for PublishOutcome
impl Sync for PublishOutcome
impl Unpin for PublishOutcome
impl UnsafeUnpin for PublishOutcome
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