Enum web_sys::ReadableStreamType
source · pub enum ReadableStreamType {
Bytes = 0,
// some variants omitted
}
Expand description
The ReadableStreamType
enum.
This API requires the following crate features to be activated: ReadableStreamType
Variants§
Bytes = 0
Implementations§
source§impl ReadableStreamType
impl ReadableStreamType
pub fn from_js_value(obj: &JsValue) -> Option<ReadableStreamType>
Trait Implementations§
source§impl Clone for ReadableStreamType
impl Clone for ReadableStreamType
source§fn clone(&self) -> ReadableStreamType
fn clone(&self) -> ReadableStreamType
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 moresource§impl Debug for ReadableStreamType
impl Debug for ReadableStreamType
source§impl From<ReadableStreamType> for JsValue
impl From<ReadableStreamType> for JsValue
source§fn from(obj: ReadableStreamType) -> JsValue
fn from(obj: ReadableStreamType) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for ReadableStreamType
impl FromWasmAbi for ReadableStreamType
source§impl IntoWasmAbi for ReadableStreamType
impl IntoWasmAbi for ReadableStreamType
source§impl PartialEq for ReadableStreamType
impl PartialEq for ReadableStreamType
source§fn eq(&self, other: &ReadableStreamType) -> bool
fn eq(&self, other: &ReadableStreamType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReadableStreamType
impl Eq for ReadableStreamType
impl StructuralEq for ReadableStreamType
impl StructuralPartialEq for ReadableStreamType
Auto Trait Implementations§
impl RefUnwindSafe for ReadableStreamType
impl Send for ReadableStreamType
impl Sync for ReadableStreamType
impl Unpin for ReadableStreamType
impl UnwindSafe for ReadableStreamType
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
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.