Enum web_sys::ReadableStreamType
source · [−]pub enum ReadableStreamType {
Bytes,
// some variants omitted
}
Expand description
The ReadableStreamType
enum.
This API requires the following crate features to be activated: ReadableStreamType
Variants
Bytes
Implementations
sourceimpl ReadableStreamType
impl ReadableStreamType
pub fn from_js_value(obj: &JsValue) -> Option<ReadableStreamType>
Trait Implementations
sourceimpl Clone for ReadableStreamType
impl Clone for ReadableStreamType
sourcefn clone(&self) -> ReadableStreamType
fn clone(&self) -> ReadableStreamType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReadableStreamType
impl Debug for ReadableStreamType
sourceimpl From<ReadableStreamType> for JsValue
impl From<ReadableStreamType> for JsValue
sourcefn from(obj: ReadableStreamType) -> JsValue
fn from(obj: ReadableStreamType) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for ReadableStreamType
impl FromWasmAbi for ReadableStreamType
sourceimpl IntoWasmAbi for ReadableStreamType
impl IntoWasmAbi for ReadableStreamType
sourceimpl PartialEq<ReadableStreamType> for ReadableStreamType
impl PartialEq<ReadableStreamType> for ReadableStreamType
sourcefn 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 ==
. Read more
sourceimpl WasmDescribe for ReadableStreamType
impl WasmDescribe for ReadableStreamType
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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
sourcefn 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
. Read more