pub struct StreamOutput<T, E = Error> { /* private fields */ }Implementations§
Source§impl<T, E> StreamOutput<T, E>
impl<T, E> StreamOutput<T, E>
Source§impl<T, E> StreamOutput<T, E>
impl<T, E> StreamOutput<T, E>
Source§impl<T, E> StreamOutput<T, E>
impl<T, E> StreamOutput<T, E>
pub async fn send_owned(&self, value: Response<T>) -> Result<(), E>
Trait Implementations§
Source§impl<T, E> Clone for StreamOutput<T, E>
impl<T, E> Clone for StreamOutput<T, E>
Source§fn clone(&self) -> StreamOutput<T, E>
fn clone(&self) -> StreamOutput<T, E>
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<T, E> EndpointSet for StreamOutput<T, E>
impl<T, E> EndpointSet for StreamOutput<T, E>
fn bind_wire( limits: WireStreamLimits, ) -> Result<(StreamOutput<T, E>, WireStreams), ServingError>
fn transferred(&self) -> bool
fn item_types() -> (Option<TypeId>, Option<TypeId>)
fn empty() -> Option<Self>
Source§impl<T, E> OutputEndpoint for StreamOutput<T, E>
impl<T, E> OutputEndpoint for StreamOutput<T, E>
type Item = T
fn bind_wire( limits: WireStreamLimits, ) -> Result<(StreamOutput<T, E>, WireStreams), ServingError>
fn transferred(&self) -> bool
Source§impl<T, E> WireEndpoints for StreamOutput<T, E>
impl<T, E> WireEndpoints for StreamOutput<T, E>
fn bind( limits: WireStreamLimits, ) -> Result<(StreamOutput<T, E>, WireStreams), ServingError>
fn empty() -> Option<Self>
Auto Trait Implementations§
impl<T, E> Freeze for StreamOutput<T, E>
impl<T, E> RefUnwindSafe for StreamOutput<T, E>
impl<T, E> Send for StreamOutput<T, E>
impl<T, E> Sync for StreamOutput<T, E>
impl<T, E> Unpin for StreamOutput<T, E>
impl<T, E> UnsafeUnpin for StreamOutput<T, E>
impl<T, E> UnwindSafe for StreamOutput<T, E>
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