pub struct BoundaryId(/* private fields */);Expand description
Integer handle for a compile-time streaming boundary.
Resolve an authored boundary name once with
StreamingResponse::boundary, then reuse this allocation-free handle for
every response operation.
Implementations§
Trait Implementations§
Source§impl Clone for BoundaryId
impl Clone for BoundaryId
Source§fn clone(&self) -> BoundaryId
fn clone(&self) -> BoundaryId
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 moreimpl Copy for BoundaryId
Source§impl Debug for BoundaryId
impl Debug for BoundaryId
impl Eq for BoundaryId
Source§impl Hash for BoundaryId
impl Hash for BoundaryId
Source§impl PartialEq for BoundaryId
impl PartialEq for BoundaryId
impl StructuralPartialEq for BoundaryId
Auto Trait Implementations§
impl Freeze for BoundaryId
impl RefUnwindSafe for BoundaryId
impl Send for BoundaryId
impl Sync for BoundaryId
impl Unpin for BoundaryId
impl UnsafeUnpin for BoundaryId
impl UnwindSafe for BoundaryId
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