pub enum Reply {
Unary(Response),
Stream(BoxStream<'static, Result<Bytes, ServerError>>),
}Expand description
An admin response whose streaming bytes never enter replay storage.
Variants§
Unary(Response)
Bounded unary JSON or a pre-stream Connect error.
Stream(BoxStream<'static, Result<Bytes, ServerError>>)
Framed Connect JSON, including an end-stream success or error envelope.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Reply
impl !Sync for Reply
impl !UnwindSafe for Reply
impl Freeze for Reply
impl Send for Reply
impl Unpin for Reply
impl UnsafeUnpin for Reply
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