Skip to main content

UnitTestingClientView

Struct UnitTestingClientView 

Source
pub struct UnitTestingClientView<'a> { /* private fields */ }
Expand description

Per-exchange view onto the UnitTesting cluster’s client operations. Returned by UnitTestingClient::unit_testing. Each method consumes the view (and therefore the underlying crate::transport::exchange::Exchange) — one exchange is one IM transaction.

Implementations§

Source§

impl<'a> UnitTestingClientView<'a>

Source

pub async fn test(self, endpoint: u16) -> Result<(), Error>

Source

pub async fn test_not_handled(self, endpoint: u16) -> Result<(), Error>

Source

pub async fn test_specific( self, endpoint: u16, ) -> Result<TestSpecificResponseHandle<'a>, Error>

Source

pub async fn test_unknown_command(self, endpoint: u16) -> Result<(), Error>

Source

pub async fn test_add_arguments<F>( self, endpoint: u16, request: F, ) -> Result<TestAddArgumentsResponseHandle<'a>, Error>

Source

pub async fn test_simple_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<TestSimpleArgumentResponseHandle<'a>, Error>

Source

pub async fn test_struct_array_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<TestStructArrayArgumentResponseHandle<'a>, Error>

Source

pub async fn test_struct_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<BooleanResponseHandle<'a>, Error>

Source

pub async fn test_nested_struct_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<BooleanResponseHandle<'a>, Error>

Source

pub async fn test_list_struct_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<BooleanResponseHandle<'a>, Error>

Source

pub async fn test_list_int_8_u_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<BooleanResponseHandle<'a>, Error>

Source

pub async fn test_nested_struct_list_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<BooleanResponseHandle<'a>, Error>

Source

pub async fn test_list_nested_struct_list_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<BooleanResponseHandle<'a>, Error>

Source

pub async fn test_list_int_8_u_reverse_request<F>( self, endpoint: u16, request: F, ) -> Result<TestListInt8UReverseResponseHandle<'a>, Error>

Source

pub async fn test_enums_request<F>( self, endpoint: u16, request: F, ) -> Result<TestEnumsResponseHandle<'a>, Error>

Source

pub async fn test_nullable_optional_request<F>( self, endpoint: u16, request: F, ) -> Result<TestNullableOptionalResponseHandle<'a>, Error>

Source

pub async fn test_complex_nullable_optional_request<F>( self, endpoint: u16, request: F, ) -> Result<TestComplexNullableOptionalResponseHandle<'a>, Error>

Source

pub async fn simple_struct_echo_request<F>( self, endpoint: u16, request: F, ) -> Result<SimpleStructResponseHandle<'a>, Error>

Source

pub async fn timed_invoke_request(self, endpoint: u16) -> Result<(), Error>

Source

pub async fn test_simple_optional_argument_request<F>( self, endpoint: u16, request: F, ) -> Result<(), Error>

Source

pub async fn test_emit_test_event_request<F>( self, endpoint: u16, request: F, ) -> Result<TestEmitTestEventResponseHandle<'a>, Error>

Source

pub async fn test_emit_test_fabric_scoped_event_request<F>( self, endpoint: u16, request: F, ) -> Result<TestEmitTestFabricScopedEventResponseHandle<'a>, Error>

Source

pub async fn test_batch_helper_request<F>( self, endpoint: u16, request: F, ) -> Result<TestBatchHelperResponseHandle<'a>, Error>

Source

pub async fn test_second_batch_helper_request<F>( self, endpoint: u16, request: F, ) -> Result<TestBatchHelperResponseHandle<'a>, Error>

Source

pub async fn string_echo_request<F>( self, endpoint: u16, request: F, ) -> Result<StringEchoResponseHandle<'a>, Error>

Source

pub async fn global_echo_request<F>( self, endpoint: u16, request: F, ) -> Result<GlobalEchoResponseHandle<'a>, Error>

Source

pub async fn test_check_command_flags(self, endpoint: u16) -> Result<(), Error>

Source

pub async fn test_different_vendor_mei_request<F>( self, endpoint: u16, request: F, ) -> Result<TestDifferentVendorMeiResponseHandle<'a>, Error>

Source

pub async fn boolean_read(self, endpoint: u16) -> Result<bool, Error>

Source

pub async fn bitmap_8_read(self, endpoint: u16) -> Result<Bitmap8MaskMap, Error>

Source

pub async fn bitmap_16_read( self, endpoint: u16, ) -> Result<Bitmap16MaskMap, Error>

Source

pub async fn bitmap_32_read( self, endpoint: u16, ) -> Result<Bitmap32MaskMap, Error>

Source

pub async fn bitmap_64_read( self, endpoint: u16, ) -> Result<Bitmap64MaskMap, Error>

Source

pub async fn int_8_u_read(self, endpoint: u16) -> Result<u8, Error>

Source

pub async fn int_16_u_read(self, endpoint: u16) -> Result<u16, Error>

Source

pub async fn int_24_u_read(self, endpoint: u16) -> Result<u32, Error>

Source

pub async fn int_32_u_read(self, endpoint: u16) -> Result<u32, Error>

Source

pub async fn int_40_u_read(self, endpoint: u16) -> Result<u64, Error>

Source

pub async fn int_48_u_read(self, endpoint: u16) -> Result<u64, Error>

Source

pub async fn int_56_u_read(self, endpoint: u16) -> Result<u64, Error>

Source

pub async fn int_64_u_read(self, endpoint: u16) -> Result<u64, Error>

Source

pub async fn int_8_s_read(self, endpoint: u16) -> Result<i8, Error>

Source

pub async fn int_16_s_read(self, endpoint: u16) -> Result<i16, Error>

Source

pub async fn int_24_s_read(self, endpoint: u16) -> Result<i32, Error>

Source

pub async fn int_32_s_read(self, endpoint: u16) -> Result<i32, Error>

Source

pub async fn int_40_s_read(self, endpoint: u16) -> Result<i64, Error>

Source

pub async fn int_48_s_read(self, endpoint: u16) -> Result<i64, Error>

Source

pub async fn int_56_s_read(self, endpoint: u16) -> Result<i64, Error>

Source

pub async fn int_64_s_read(self, endpoint: u16) -> Result<i64, Error>

Source

pub async fn enum_8_read(self, endpoint: u16) -> Result<u8, Error>

Source

pub async fn enum_16_read(self, endpoint: u16) -> Result<u16, Error>

Source

pub async fn float_single_read(self, endpoint: u16) -> Result<f32, Error>

Source

pub async fn float_double_read(self, endpoint: u16) -> Result<f64, Error>

Source

pub async fn octet_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<Octets<'_>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn list_int_8_u_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, u8, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn list_octet_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, Octets<'_>, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn list_struct_octet_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, TestListStructOctet<'_>, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn long_octet_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<Octets<'_>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn char_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<&str, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn long_char_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<&str, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn epoch_us_read(self, endpoint: u16) -> Result<u64, Error>

Source

pub async fn epoch_s_read(self, endpoint: u16) -> Result<u32, Error>

Source

pub async fn vendor_id_read(self, endpoint: u16) -> Result<u16, Error>

Source

pub async fn list_nullables_and_optionals_struct_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, NullablesAndOptionalsStruct<'_>, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn enum_attr_read(self, endpoint: u16) -> Result<SimpleEnum, Error>

Source

pub async fn struct_attr_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<SimpleStruct<'_>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn range_restricted_int_8_u_read( self, endpoint: u16, ) -> Result<u8, Error>

Source

pub async fn range_restricted_int_8_s_read( self, endpoint: u16, ) -> Result<i8, Error>

Source

pub async fn range_restricted_int_16_u_read( self, endpoint: u16, ) -> Result<u16, Error>

Source

pub async fn range_restricted_int_16_s_read( self, endpoint: u16, ) -> Result<i16, Error>

Source

pub async fn list_long_octet_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, Octets<'_>, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn list_fabric_scoped_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, TestFabricScoped<'_>, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn timed_write_boolean_read( self, endpoint: u16, ) -> Result<bool, Error>

Source

pub async fn general_error_boolean_read( self, endpoint: u16, ) -> Result<bool, Error>

Source

pub async fn cluster_error_boolean_read( self, endpoint: u16, ) -> Result<bool, Error>

Source

pub async fn global_enum_read( self, endpoint: u16, ) -> Result<TestGlobalEnum, Error>

Source

pub async fn global_struct_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TestGlobalStruct<'_>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn unsupported_attribute_requiring_admin_privilege_read( self, endpoint: u16, ) -> Result<bool, Error>

Source

pub async fn unsupported_read(self, endpoint: u16) -> Result<bool, Error>

Source

pub async fn read_failure_code_read(self, endpoint: u16) -> Result<u8, Error>

Source

pub async fn failure_int_32_u_read(self, endpoint: u16) -> Result<u32, Error>

Source

pub async fn nullable_boolean_read( self, endpoint: u16, ) -> Result<Maybe<bool, AsNullable>, Error>

Source

pub async fn nullable_bitmap_8_read( self, endpoint: u16, ) -> Result<Maybe<Bitmap8MaskMap, AsNullable>, Error>

Source

pub async fn nullable_bitmap_16_read( self, endpoint: u16, ) -> Result<Maybe<Bitmap16MaskMap, AsNullable>, Error>

Source

pub async fn nullable_bitmap_32_read( self, endpoint: u16, ) -> Result<Maybe<Bitmap32MaskMap, AsNullable>, Error>

Source

pub async fn nullable_bitmap_64_read( self, endpoint: u16, ) -> Result<Maybe<Bitmap64MaskMap, AsNullable>, Error>

Source

pub async fn nullable_int_8_u_read( self, endpoint: u16, ) -> Result<Maybe<u8, AsNullable>, Error>

Source

pub async fn nullable_int_16_u_read( self, endpoint: u16, ) -> Result<Maybe<u16, AsNullable>, Error>

Source

pub async fn nullable_int_24_u_read( self, endpoint: u16, ) -> Result<Maybe<u32, AsNullable>, Error>

Source

pub async fn nullable_int_32_u_read( self, endpoint: u16, ) -> Result<Maybe<u32, AsNullable>, Error>

Source

pub async fn nullable_int_40_u_read( self, endpoint: u16, ) -> Result<Maybe<u64, AsNullable>, Error>

Source

pub async fn nullable_int_48_u_read( self, endpoint: u16, ) -> Result<Maybe<u64, AsNullable>, Error>

Source

pub async fn nullable_int_56_u_read( self, endpoint: u16, ) -> Result<Maybe<u64, AsNullable>, Error>

Source

pub async fn nullable_int_64_u_read( self, endpoint: u16, ) -> Result<Maybe<u64, AsNullable>, Error>

Source

pub async fn nullable_int_8_s_read( self, endpoint: u16, ) -> Result<Maybe<i8, AsNullable>, Error>

Source

pub async fn nullable_int_16_s_read( self, endpoint: u16, ) -> Result<Maybe<i16, AsNullable>, Error>

Source

pub async fn nullable_int_24_s_read( self, endpoint: u16, ) -> Result<Maybe<i32, AsNullable>, Error>

Source

pub async fn nullable_int_32_s_read( self, endpoint: u16, ) -> Result<Maybe<i32, AsNullable>, Error>

Source

pub async fn nullable_int_40_s_read( self, endpoint: u16, ) -> Result<Maybe<i64, AsNullable>, Error>

Source

pub async fn nullable_int_48_s_read( self, endpoint: u16, ) -> Result<Maybe<i64, AsNullable>, Error>

Source

pub async fn nullable_int_56_s_read( self, endpoint: u16, ) -> Result<Maybe<i64, AsNullable>, Error>

Source

pub async fn nullable_int_64_s_read( self, endpoint: u16, ) -> Result<Maybe<i64, AsNullable>, Error>

Source

pub async fn nullable_enum_8_read( self, endpoint: u16, ) -> Result<Maybe<u8, AsNullable>, Error>

Source

pub async fn nullable_enum_16_read( self, endpoint: u16, ) -> Result<Maybe<u16, AsNullable>, Error>

Source

pub async fn nullable_float_single_read( self, endpoint: u16, ) -> Result<Maybe<f32, AsNullable>, Error>

Source

pub async fn nullable_float_double_read( self, endpoint: u16, ) -> Result<Maybe<f64, AsNullable>, Error>

Source

pub async fn nullable_octet_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<Maybe<Octets<'_>, AsNullable>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn nullable_char_string_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<Maybe<&str, AsNullable>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn nullable_enum_attr_read( self, endpoint: u16, ) -> Result<Maybe<SimpleEnum, AsNullable>, Error>

Source

pub async fn nullable_struct_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<Maybe<SimpleStruct<'_>, AsNullable>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn nullable_range_restricted_int_8_u_read( self, endpoint: u16, ) -> Result<Maybe<u8, AsNullable>, Error>

Source

pub async fn nullable_range_restricted_int_8_s_read( self, endpoint: u16, ) -> Result<Maybe<i8, AsNullable>, Error>

Source

pub async fn nullable_range_restricted_int_16_u_read( self, endpoint: u16, ) -> Result<Maybe<u16, AsNullable>, Error>

Source

pub async fn nullable_range_restricted_int_16_s_read( self, endpoint: u16, ) -> Result<Maybe<i16, AsNullable>, Error>

Source

pub async fn write_only_int_8_u_read(self, endpoint: u16) -> Result<u8, Error>

Source

pub async fn nullable_global_enum_read( self, endpoint: u16, ) -> Result<Maybe<TestGlobalEnum, AsNullable>, Error>

Source

pub async fn nullable_global_struct_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<Maybe<TestGlobalStruct<'_>, AsNullable>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn generated_command_list_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, u32, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn accepted_command_list_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, u32, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn attribute_list_read_with<R>( self, endpoint: u16, f: impl FnOnce(Result<TLVContainer<'_, u32, ArrayContainer>, Error>) -> R, ) -> Result<R, Error>

Read a non-scalar attribute (string, octet string, struct or list) whose value borrows the response buffer. Decodes the value and passes Result<Value, Error> to f while the borrow is live, returning the owned R that f produces (copy out what you need, e.g. |v| v.map(|s| s.to_string())). A non-served optional attribute surfaces as Err to f.

Source

pub async fn feature_map_read(self, endpoint: u16) -> Result<u32, Error>

Source

pub async fn cluster_revision_read(self, endpoint: u16) -> Result<u16, Error>

Source

pub async fn mei_int_8_u_read(self, endpoint: u16) -> Result<u8, Error>

Source

pub async fn boolean_write( self, endpoint: u16, value: bool, ) -> Result<(), Error>

Source

pub async fn bitmap_8_write( self, endpoint: u16, value: Bitmap8MaskMap, ) -> Result<(), Error>

Source

pub async fn bitmap_16_write( self, endpoint: u16, value: Bitmap16MaskMap, ) -> Result<(), Error>

Source

pub async fn bitmap_32_write( self, endpoint: u16, value: Bitmap32MaskMap, ) -> Result<(), Error>

Source

pub async fn bitmap_64_write( self, endpoint: u16, value: Bitmap64MaskMap, ) -> Result<(), Error>

Source

pub async fn int_8_u_write(self, endpoint: u16, value: u8) -> Result<(), Error>

Source

pub async fn int_16_u_write( self, endpoint: u16, value: u16, ) -> Result<(), Error>

Source

pub async fn int_24_u_write( self, endpoint: u16, value: u32, ) -> Result<(), Error>

Source

pub async fn int_32_u_write( self, endpoint: u16, value: u32, ) -> Result<(), Error>

Source

pub async fn int_40_u_write( self, endpoint: u16, value: u64, ) -> Result<(), Error>

Source

pub async fn int_48_u_write( self, endpoint: u16, value: u64, ) -> Result<(), Error>

Source

pub async fn int_56_u_write( self, endpoint: u16, value: u64, ) -> Result<(), Error>

Source

pub async fn int_64_u_write( self, endpoint: u16, value: u64, ) -> Result<(), Error>

Source

pub async fn int_8_s_write(self, endpoint: u16, value: i8) -> Result<(), Error>

Source

pub async fn int_16_s_write( self, endpoint: u16, value: i16, ) -> Result<(), Error>

Source

pub async fn int_24_s_write( self, endpoint: u16, value: i32, ) -> Result<(), Error>

Source

pub async fn int_32_s_write( self, endpoint: u16, value: i32, ) -> Result<(), Error>

Source

pub async fn int_40_s_write( self, endpoint: u16, value: i64, ) -> Result<(), Error>

Source

pub async fn int_48_s_write( self, endpoint: u16, value: i64, ) -> Result<(), Error>

Source

pub async fn int_56_s_write( self, endpoint: u16, value: i64, ) -> Result<(), Error>

Source

pub async fn int_64_s_write( self, endpoint: u16, value: i64, ) -> Result<(), Error>

Source

pub async fn enum_8_write(self, endpoint: u16, value: u8) -> Result<(), Error>

Source

pub async fn enum_16_write(self, endpoint: u16, value: u16) -> Result<(), Error>

Source

pub async fn float_single_write( self, endpoint: u16, value: f32, ) -> Result<(), Error>

Source

pub async fn float_double_write( self, endpoint: u16, value: f64, ) -> Result<(), Error>

Source

pub async fn epoch_us_write( self, endpoint: u16, value: u64, ) -> Result<(), Error>

Source

pub async fn epoch_s_write(self, endpoint: u16, value: u32) -> Result<(), Error>

Source

pub async fn vendor_id_write( self, endpoint: u16, value: u16, ) -> Result<(), Error>

Source

pub async fn enum_attr_write( self, endpoint: u16, value: SimpleEnum, ) -> Result<(), Error>

Source

pub async fn range_restricted_int_8_u_write( self, endpoint: u16, value: u8, ) -> Result<(), Error>

Source

pub async fn range_restricted_int_8_s_write( self, endpoint: u16, value: i8, ) -> Result<(), Error>

Source

pub async fn range_restricted_int_16_u_write( self, endpoint: u16, value: u16, ) -> Result<(), Error>

Source

pub async fn range_restricted_int_16_s_write( self, endpoint: u16, value: i16, ) -> Result<(), Error>

Source

pub async fn timed_write_boolean_write( self, endpoint: u16, value: bool, ) -> Result<(), Error>

Source

pub async fn general_error_boolean_write( self, endpoint: u16, value: bool, ) -> Result<(), Error>

Source

pub async fn cluster_error_boolean_write( self, endpoint: u16, value: bool, ) -> Result<(), Error>

Source

pub async fn global_enum_write( self, endpoint: u16, value: TestGlobalEnum, ) -> Result<(), Error>

Source

pub async fn unsupported_attribute_requiring_admin_privilege_write( self, endpoint: u16, value: bool, ) -> Result<(), Error>

Source

pub async fn unsupported_write( self, endpoint: u16, value: bool, ) -> Result<(), Error>

Source

pub async fn read_failure_code_write( self, endpoint: u16, value: u8, ) -> Result<(), Error>

Source

pub async fn failure_int_32_u_write( self, endpoint: u16, value: u32, ) -> Result<(), Error>

Source

pub async fn nullable_boolean_write( self, endpoint: u16, value: Maybe<bool, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_bitmap_8_write( self, endpoint: u16, value: Maybe<Bitmap8MaskMap, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_bitmap_16_write( self, endpoint: u16, value: Maybe<Bitmap16MaskMap, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_bitmap_32_write( self, endpoint: u16, value: Maybe<Bitmap32MaskMap, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_bitmap_64_write( self, endpoint: u16, value: Maybe<Bitmap64MaskMap, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_8_u_write( self, endpoint: u16, value: Maybe<u8, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_16_u_write( self, endpoint: u16, value: Maybe<u16, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_24_u_write( self, endpoint: u16, value: Maybe<u32, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_32_u_write( self, endpoint: u16, value: Maybe<u32, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_40_u_write( self, endpoint: u16, value: Maybe<u64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_48_u_write( self, endpoint: u16, value: Maybe<u64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_56_u_write( self, endpoint: u16, value: Maybe<u64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_64_u_write( self, endpoint: u16, value: Maybe<u64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_8_s_write( self, endpoint: u16, value: Maybe<i8, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_16_s_write( self, endpoint: u16, value: Maybe<i16, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_24_s_write( self, endpoint: u16, value: Maybe<i32, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_32_s_write( self, endpoint: u16, value: Maybe<i32, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_40_s_write( self, endpoint: u16, value: Maybe<i64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_48_s_write( self, endpoint: u16, value: Maybe<i64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_56_s_write( self, endpoint: u16, value: Maybe<i64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_int_64_s_write( self, endpoint: u16, value: Maybe<i64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_enum_8_write( self, endpoint: u16, value: Maybe<u8, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_enum_16_write( self, endpoint: u16, value: Maybe<u16, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_float_single_write( self, endpoint: u16, value: Maybe<f32, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_float_double_write( self, endpoint: u16, value: Maybe<f64, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_enum_attr_write( self, endpoint: u16, value: Maybe<SimpleEnum, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_range_restricted_int_8_u_write( self, endpoint: u16, value: Maybe<u8, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_range_restricted_int_8_s_write( self, endpoint: u16, value: Maybe<i8, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_range_restricted_int_16_u_write( self, endpoint: u16, value: Maybe<u16, AsNullable>, ) -> Result<(), Error>

Source

pub async fn nullable_range_restricted_int_16_s_write( self, endpoint: u16, value: Maybe<i16, AsNullable>, ) -> Result<(), Error>

Source

pub async fn write_only_int_8_u_write( self, endpoint: u16, value: u8, ) -> Result<(), Error>

Source

pub async fn nullable_global_enum_write( self, endpoint: u16, value: Maybe<TestGlobalEnum, AsNullable>, ) -> Result<(), Error>

Source

pub async fn mei_int_8_u_write( self, endpoint: u16, value: u8, ) -> Result<(), Error>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, E> Init<T, E> for T

Source§

unsafe fn __init(self, slot: *mut T) -> Result<(), E>

Initializes slot. Read more
Source§

fn chain<F>(self, f: F) -> ChainInit<Self, F, T, E>
where F: FnOnce(&mut T) -> Result<(), E>,

First initializes the value using self then calls the function f with the initialized value. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, I> IntoFallibleInit<T> for I
where I: Init<T>,

Source§

fn into_fallible<E>(self) -> impl Init<T, E>

Convert the infallible initializer to a fallible one.
Source§

impl<Source, Target> OctetsInto<Target> for Source
where Target: OctetsFrom<Source>,

Source§

type Error = <Target as OctetsFrom<Source>>::Error

Source§

fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>

Performs the conversion.
Source§

fn octets_into(self) -> Target
where Self::Error: Into<Infallible>,

Performs an infallible conversion.
Source§

impl<T, E> PinInit<T, E> for T

Source§

unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>

Initializes slot. Read more
Source§

fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>
where F: FnOnce(Pin<&mut T>) -> Result<(), E>,

First initializes the value using self then calls the function f with the initialized value. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V