pub struct StreamErrorCode(pub JsValue);
Expand description
The stream error code.
Tuple Fields§
§0: JsValue
Trait Implementations§
Source§impl AsErrorCode<StreamErrorCode> for StreamReadError
impl AsErrorCode<StreamErrorCode> for StreamReadError
Source§fn as_error_code(&self) -> Option<StreamErrorCode>
fn as_error_code(&self) -> Option<StreamErrorCode>
Represent the error as an error code.
Source§impl AsErrorCode<StreamErrorCode> for StreamWriteError
impl AsErrorCode<StreamErrorCode> for StreamWriteError
Source§fn as_error_code(&self) -> Option<StreamErrorCode>
fn as_error_code(&self) -> Option<StreamErrorCode>
Represent the error as an error code.
Source§impl Debug for StreamErrorCode
impl Debug for StreamErrorCode
Source§impl From<u32> for StreamErrorCode
impl From<u32> for StreamErrorCode
Auto Trait Implementations§
impl Freeze for StreamErrorCode
impl RefUnwindSafe for StreamErrorCode
impl !Send for StreamErrorCode
impl !Sync for StreamErrorCode
impl Unpin for StreamErrorCode
impl UnwindSafe for StreamErrorCode
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