pub struct CreateReadStreamOptions { /* private fields */ }
Implementations§
Source§impl CreateReadStreamOptions
impl CreateReadStreamOptions
pub fn new_with_values( auto_close: Option<bool>, emit_close: Option<bool>, encoding: Option<JsString>, end: Option<f64>, fd: Option<u32>, flags: Option<JsString>, high_water_mark: Option<f64>, mode: Option<u32>, start: Option<f64>, ) -> CreateReadStreamOptions
pub fn auto_close(&self) -> Option<bool>
pub fn set_auto_close(&mut self, value: Option<bool>)
pub fn emit_close(&self) -> Option<bool>
pub fn set_emit_close(&mut self, value: Option<bool>)
pub fn encoding(&self) -> Option<JsString>
pub fn set_encoding(&mut self, value: Option<JsString>)
pub fn end(&self) -> Option<f64>
pub fn set_end(&mut self, value: Option<f64>)
pub fn fd(&self) -> Option<u32>
pub fn set_fd(&mut self, value: Option<u32>)
pub fn flags(&self) -> Option<JsString>
pub fn set_flags(&mut self, value: Option<JsString>)
pub fn high_water_mark(&self) -> Option<f64>
pub fn set_high_water_mark(&mut self, value: Option<f64>)
pub fn mode(&self) -> Option<u32>
pub fn set_mode(&mut self, value: Option<u32>)
pub fn start(&self) -> Option<f64>
pub fn set_start(&mut self, value: Option<f64>)
Trait Implementations§
Source§impl Clone for CreateReadStreamOptions
impl Clone for CreateReadStreamOptions
Source§fn clone(&self) -> CreateReadStreamOptions
fn clone(&self) -> CreateReadStreamOptions
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 CreateReadStreamOptions
impl Debug for CreateReadStreamOptions
Source§impl Default for CreateReadStreamOptions
impl Default for CreateReadStreamOptions
Source§fn default() -> CreateReadStreamOptions
fn default() -> CreateReadStreamOptions
Returns the “default value” for a type. Read more
Source§impl From<CreateReadStreamOptions> for JsValue
impl From<CreateReadStreamOptions> for JsValue
Source§fn from(value: CreateReadStreamOptions) -> Self
fn from(value: CreateReadStreamOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CreateReadStreamOptions
impl PartialEq for CreateReadStreamOptions
Source§impl RefFromWasmAbi for CreateReadStreamOptions
impl RefFromWasmAbi for CreateReadStreamOptions
Source§type Anchor = RcRef<CreateReadStreamOptions>
type Anchor = RcRef<CreateReadStreamOptions>
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 CreateReadStreamOptions
impl VectorFromWasmAbi for CreateReadStreamOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CreateReadStreamOptions]>
Source§impl VectorIntoJsValue for CreateReadStreamOptions
impl VectorIntoJsValue for CreateReadStreamOptions
fn vector_into_jsvalue(vector: Box<[CreateReadStreamOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for CreateReadStreamOptions
impl VectorIntoWasmAbi for CreateReadStreamOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CreateReadStreamOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for CreateReadStreamOptions
impl WasmDescribeVector for CreateReadStreamOptions
impl StructuralPartialEq for CreateReadStreamOptions
impl SupportsConstructor for CreateReadStreamOptions
impl SupportsInstanceProperty for CreateReadStreamOptions
impl SupportsStaticProperty for CreateReadStreamOptions
Auto Trait Implementations§
impl Freeze for CreateReadStreamOptions
impl RefUnwindSafe for CreateReadStreamOptions
impl !Send for CreateReadStreamOptions
impl !Sync for CreateReadStreamOptions
impl Unpin for CreateReadStreamOptions
impl UnwindSafe for CreateReadStreamOptions
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
.