Is there a way to check a stream's existence in this crate? read_stream returns a Result but when I do read_stream(stream_id, &Default::default()).await? this causes an error case to early return with the internal message of the error just being "The resource you asked for doesn't exist".
It looks like I see in the c# client you have
var result = client.ReadStreamAsync(
Direction.Forwards,
"some-stream",
10,
20
);
if (await result.ReadState == ReadState.StreamNotFound) return;
Is there a way to check a stream's existence in this crate? read_stream returns a Result but when I do
read_stream(stream_id, &Default::default()).await?
this causes an error case to early return with the internal message of the error just being "The resource you asked for doesn't exist".It looks like I see in the c# client you have