pub struct ClientRequest { /* fields omitted */ }
A mock implementation of client::HttpRequest
which can spawn an HttpBuffer
.
client::HttpRequest
impl requires the client
feature.
The HTTP stream type that can be opend by this request, to which the multipart data will be written. Read more
The error type for this request. Must be compatible with io::Error
as well as Self::HttpStream::Error
Read more
Set the Content-Type
header to multipart/form-data
and supply the boundary
value. If content_len
is given, set the Content-Length
header to its value. Read more
If apply_headers()
was not called.
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
impl<T> Typeable for T where T: Any, | |
Get the TypeId
of this object.
impl<T> DebugAny for T where T: Any + Debug, | |
impl<T> UnsafeAny for T where T: Any, | |