pub struct Sent {
pub published: Vec<Published>,
pub threads: Option<Vec<RemoteThread>>,
pub failed: Option<ForgeError>,
}Expand description
What an adapter’s publish brought back.
Err from Forge::publish means nothing left the machine. Once anything
has, the adapter returns Ok with what it knows: the comments it can name,
the threads if it fetched them on the way, and the error that stopped it,
so the caller records what landed before it says what failed. A publish
that lost track of its own comments would send them again.
Fields§
§published: Vec<Published>§threads: Option<Vec<RemoteThread>>The threads, when the adapter had to fetch them anyway.
failed: Option<ForgeError>What stopped the adapter after something had already gone up.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Sent
impl !UnwindSafe for Sent
impl Freeze for Sent
impl Send for Sent
impl Sync for Sent
impl Unpin for Sent
impl UnsafeUnpin for Sent
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