pub trait IStream_SynchronousAsyncResultMethods: IStream_SynchronousAsyncResult {
// Provided methods
fn ctor(
self,
bytes_read: impl Into<i32>,
async_state_object: impl Into<Object>,
) { ... }
fn ctor_2(self, async_state_object: impl Into<Object>) { ... }
fn get_is_completed(self) -> bool { ... }
fn get_async_state(self) -> Object { ... }
fn get_completed_synchronously(self) -> bool { ... }
fn throw_if_error(self) { ... }
}Provided Methods§
Sourcefn ctor(self, bytes_read: impl Into<i32>, async_state_object: impl Into<Object>)
fn ctor(self, bytes_read: impl Into<i32>, async_state_object: impl Into<Object>)
.ctor(i32, crate::system::object::Object) overload
Sourcefn ctor_2(self, async_state_object: impl Into<Object>)
fn ctor_2(self, async_state_object: impl Into<Object>)
.ctor(crate::system::object::Object) overload
Sourcefn get_is_completed(self) -> bool
fn get_is_completed(self) -> bool
get_IsCompleted() overload
Sourcefn get_async_state(self) -> Object
fn get_async_state(self) -> Object
get_AsyncState() overload
Sourcefn get_completed_synchronously(self) -> bool
fn get_completed_synchronously(self) -> bool
get_CompletedSynchronously() overload
Sourcefn throw_if_error(self)
fn throw_if_error(self)
ThrowIfError() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IStream_SynchronousAsyncResult> IStream_SynchronousAsyncResultMethods for __T
Available on crate feature
system-io-stream only.