pub struct TusResponse {
pub status: StatusCode,
pub headers: HeaderMap,
pub body: Bytes,
}Expand description
Outgoing response produced by the tus handler. Framework integrations convert this into their native response type.
Fields§
§status: StatusCode§headers: HeaderMap§body: BytesBody bytes — always small for tus (empty or short error text).
Auto Trait Implementations§
impl !Freeze for TusResponse
impl RefUnwindSafe for TusResponse
impl Send for TusResponse
impl Sync for TusResponse
impl Unpin for TusResponse
impl UnsafeUnpin for TusResponse
impl UnwindSafe for TusResponse
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