Skip to main content

IStream_SynchronousAsyncResultMethods

Trait IStream_SynchronousAsyncResultMethods 

Source
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§

Source

fn ctor(self, bytes_read: impl Into<i32>, async_state_object: impl Into<Object>)

.ctor(i32, crate::system::object::Object) overload

Source

fn ctor_2(self, async_state_object: impl Into<Object>)

.ctor(crate::system::object::Object) overload

Source

fn get_is_completed(self) -> bool

get_IsCompleted() overload

Source

fn get_async_state(self) -> Object

get_AsyncState() overload

Source

fn get_completed_synchronously(self) -> bool

get_CompletedSynchronously() overload

Source

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§

Source§

impl<__T: IStream_SynchronousAsyncResult> IStream_SynchronousAsyncResultMethods for __T

Available on crate feature system-io-stream only.