I can see the pic! Definitely looks like some type of long roundworms that came out -- surrounded by mucous and fecal matter. I can see two very clear definite roundworms that stand out to me in this photo.
I know that exzema is a "die-off" symptom from dying parasites-- as well as a symptom of roundworm.
The fecal matter could have been blocked up in your colon and these particular roundworms enjoyed nesting in it til they got flushed out!