pub struct ReadableStreamGetReaderOptions { /* private fields */ }
Expand description
Raw options for getReader()
.
Implementations§
Source§impl ReadableStreamGetReaderOptions
impl ReadableStreamGetReaderOptions
pub fn new(mode: ReadableStreamReaderMode) -> Self
Source§impl ReadableStreamGetReaderOptions
impl ReadableStreamGetReaderOptions
pub fn mode(&self) -> ReadableStreamReaderMode
Trait Implementations§
Source§impl Clone for ReadableStreamGetReaderOptions
impl Clone for ReadableStreamGetReaderOptions
Source§fn clone(&self) -> ReadableStreamGetReaderOptions
fn clone(&self) -> ReadableStreamGetReaderOptions
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 From<ReadableStreamGetReaderOptions> for JsValue
impl From<ReadableStreamGetReaderOptions> for JsValue
Source§fn from(value: ReadableStreamGetReaderOptions) -> Self
fn from(value: ReadableStreamGetReaderOptions) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for ReadableStreamGetReaderOptions
impl RefFromWasmAbi for ReadableStreamGetReaderOptions
Source§type Anchor = RcRef<ReadableStreamGetReaderOptions>
type Anchor = RcRef<ReadableStreamGetReaderOptions>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for ReadableStreamGetReaderOptions
impl VectorFromWasmAbi for ReadableStreamGetReaderOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: Self::Abi, ) -> Box<[ReadableStreamGetReaderOptions]>
Source§impl VectorIntoJsValue for ReadableStreamGetReaderOptions
impl VectorIntoJsValue for ReadableStreamGetReaderOptions
fn vector_into_jsvalue(vector: Box<[ReadableStreamGetReaderOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for ReadableStreamGetReaderOptions
impl VectorIntoWasmAbi for ReadableStreamGetReaderOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ReadableStreamGetReaderOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for ReadableStreamGetReaderOptions
impl WasmDescribeVector for ReadableStreamGetReaderOptions
Auto Trait Implementations§
impl Freeze for ReadableStreamGetReaderOptions
impl RefUnwindSafe for ReadableStreamGetReaderOptions
impl Send for ReadableStreamGetReaderOptions
impl Sync for ReadableStreamGetReaderOptions
impl Unpin for ReadableStreamGetReaderOptions
impl UnwindSafe for ReadableStreamGetReaderOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§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
.