pub struct NetRequest(/* private fields */);Implementations§
Source§impl NetRequest
impl NetRequest
pub fn post( &self, content__22: impl ToArcString, mimeType__23: impl ToArcString, )
pub fn send(&self) -> Promise<NetResponse>
pub fn new(url__28: impl ToArcString) -> NetRequest
Trait Implementations§
Source§impl AnyValueTrait for NetRequest
impl AnyValueTrait for NetRequest
Source§impl AsAnyValue for NetRequest
impl AsAnyValue for NetRequest
fn as_any_value(&self) -> AnyValue
Source§impl Clone for NetRequest
impl Clone for NetRequest
Source§fn clone(&self) -> NetRequest
fn clone(&self) -> NetRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NetRequest
impl RefUnwindSafe for NetRequest
impl Send for NetRequest
impl Sync for NetRequest
impl Unpin for NetRequest
impl UnwindSafe for NetRequest
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