Enum makepad_widgets::shader::std::NetworkResponse
pub enum NetworkResponse {
HttpRequestError(String),
HttpResponse(HttpResponse),
HttpProgress {
loaded: u32,
total: u32,
},
WebSocketClose,
WebSocketOpen,
WebSocketError(String),
WebSocketString(String),
WebSocketBinary(Vec<u8, Global>),
}
Variants§
HttpRequestError(String)
HttpResponse(HttpResponse)
HttpProgress
WebSocketClose
WebSocketOpen
WebSocketError(String)
WebSocketString(String)
WebSocketBinary(Vec<u8, Global>)
Trait Implementations§
§impl Clone for NetworkResponse
impl Clone for NetworkResponse
§fn clone(&self) -> NetworkResponse
fn clone(&self) -> NetworkResponse
Returns a copy 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 RefUnwindSafe for NetworkResponse
impl Send for NetworkResponse
impl Sync for NetworkResponse
impl Unpin for NetworkResponse
impl UnwindSafe for NetworkResponse
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