pub struct StreamStore(/* private fields */);Expand description
Paths relative to an explicitly granted stream handle:
read rx/{max} -> Bytes (empty means EOF), write tx -> Bytes;
read ready/{read|write|both} parks; write Null to shutdown half-closes,
write Null to the root releases. No transport creates ambient network authority.
Trait Implementations§
Source§impl Clone for StreamStore
impl Clone for StreamStore
Source§fn clone(&self) -> StreamStore
fn clone(&self) -> StreamStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DetachedReader for StreamStore
impl DetachedReader for StreamStore
Source§fn read_detached(&mut self, path: &Path) -> DetachedFuture<Option<Record>>
fn read_detached(&mut self, path: &Path) -> DetachedFuture<Option<Record>>
Begin a read; the returned future resolves independently.
Source§impl DetachedWriter for StreamStore
impl DetachedWriter for StreamStore
Source§fn write_detached(&mut self, path: &Path, data: Record) -> DetachedFuture<Path>
fn write_detached(&mut self, path: &Path, data: Record) -> DetachedFuture<Path>
Begin a write; the returned future resolves independently.
Auto Trait Implementations§
impl Freeze for StreamStore
impl RefUnwindSafe for StreamStore
impl Send for StreamStore
impl Sync for StreamStore
impl Unpin for StreamStore
impl UnsafeUnpin for StreamStore
impl UnwindSafe for StreamStore
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