MCPcopy Create free account

hub / github.com/TsuITOAR/visa-rs / functions

Functions203 in github.com/TsuITOAR/visa-rs

Methodclose_all
Close this session and all find lists and device sessions.
src/lib.rs:412
Functionconvert_from_complete_code
()
src/lib.rs:617
Functionconvert_from_error_code
()
src/lib.rs:624
Functionconvert_io_error
()
src/lib.rs:697
Functionconvert_to_complete_code
()
src/lib.rs:631
Functionconvert_to_error_code
()
src/lib.rs:635
Functionconvert_wrong_status1
()
src/lib.rs:643
Functionconvert_wrong_status2
()
src/lib.rs:648
Methoddefault
()
src/flags.rs:21
Methodderef
(&self)
src/lib.rs:515
Methoddetect
()
generate-repr-config/src/main.rs:67
Methoddisable_event
Disables notification of the specified event type(s) via the specified mechanism(s). The viDisableEvent() operation disables servicing of an event id
src/instrument.rs:184
Methoddiscard_events
Discards event occurrences for specified event types and mechanisms in a session. The viDiscardEvents() operation discards all pending occurrences of
src/instrument.rs:203
Methoddrop
(&mut self)
src/async_io.rs:99
Methoddrop
(&mut self)
src/session.rs:22
Methoddrop
(&mut self)
src/handler.rs:140
Methoddrop
(&mut self)
src/async_tokio.rs:143
Methoddrop
(&mut self)
src/enums/event.rs:195
Methodeq
(&self, other: &Self)
visa-rs-proc/src/attrs/range.rs:59
Methodeq
(&self, other: &enums::attribute::AttrJobId)
src/lib.rs:606
Methodeq
(&self, other: &EventKind)
src/enums/event.rs:203
Methodeq
(&self, _: &T)
src/enums/attribute.rs:142
Methodfetch_current
(&self)
fetch-doc/src/main.rs:79
Methodfetch_list_in
( index: &'a DocIndexItem, target: &str, )
fetch-doc/src/main.rs:33
Methodflush
(&mut self)
src/instrument.rs:11
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
visa-rs-proc/src/attrs/range.rs:673
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
fetch-doc/src/main.rs:136
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/lib.rs:128
Methodfrom
(s: enums::status::ErrorCode)
src/lib.rs:134
Methodfrom
(async_instr: AsyncInstrument)
src/async_io.rs:31
Methodfrom
(value: AsyncInstrument)
src/async_tokio.rs:30
Methodfrom_callback
(f: F)
src/handler.rs:42
Methodfrom_html
(src: &Html, nav: &str)
fetch-doc/src/main.rs:96
Methodfrom_raw_ss
(s: RawSs)
src/session.rs:85
Methodfrom_str
(s: &str)
visa-rs-proc/src/attrs/range.rs:148
Methodfrom_string
(s: String)
src/lib.rs:575
Methodget_attr
if want a specific attribute, use [`SpecAttr::get_from`]
src/enums/attribute.rs:96
Methodget_from
(s: &S)
src/enums/attribute.rs:130
Functionget_visa_num
(input: TokenTree)
visa-rs-proc/src/lib.rs:44
Methodgpib_command
Write GPIB command bytes on the bus. This operation attempts to write count number of bytes of GPIB commands to the interface bus specified by vi. Th
src/instrument.rs:454
Methodgpib_control_atn
Specifies the state of the ATN line and the local active controller state. This operation asserts or deasserts the GPIB ATN interface line according
src/instrument.rs:474
Methodgpib_control_ren
Controls the state of the GPIB Remote Enable (REN) interface line, and optionally the remote/local state of the device. The viGpibControlREN() operat
src/instrument.rs:482
Methodgpib_pass_control
Tell the GPIB device at the specified address to become controller in charge (CIC). This operation passes controller in charge status to the device i
src/instrument.rs:495
Methodgpib_send_ifc
Pulse the interface clear line (IFC) for at least 100 microseconds. This operation asserts the IFC line and becomes controller in charge (CIC). The l
src/instrument.rs:511
Functionhandler
()
tests/io.rs:90
Methodhash
(&self, state: &mut H)
visa-rs-proc/src/attrs/range.rs:712
Methodinstrument
(&self)
src/async_io.rs:58
Methodinto_tokio_async
(self)
src/instrument.rs:442
Functionio_to_vs_err
Quickly convert [std::io::Error]. # Panics Panic if the input Error is not converted from [visa_rs::Error](Error), use [TryInto] to perform conversi
src/lib.rs:176
Methodkind
(&self)
src/enums/attribute.rs:121
Functionlist_instr
()
tests/io.rs:59
Methodlock_exclusive
(&self, timeout: Duration)
src/instrument.rs:116
Methodlock_shared
(&self, timeout: Duration)
src/instrument.rs:127
Methodlock_shared_with_key
(&self, timeout: Duration, key: AccessKey)
src/instrument.rs:139
Functionmain
()
build.rs:4
Functionmain
()
fetch-doc/src/main.rs:335
Functionmain
()
examples/custom_repr/src/main.rs:3
Functionmain
()
generate-repr-config/src/main.rs:197
Methodmap_vs_err
(err: Error)
src/async_tokio.rs:75
Methodmerge_ranges
(ranges: impl Iterator<Item = &'a Self>)
visa-rs-proc/src/attrs/range.rs:230
Methodnew
(url: &str)
fetch-doc/src/main.rs:27
Methodnew
Returns a session to the Default Resource Manager resource. The first call to this function initializes the VISA system, including the Default Resour
src/lib.rs:463
Methodnew
(instr: Instrument)
src/async_io.rs:40
Methodnew
(f: F)
src/handler.rs:100
Methodnew
(instr: AsyncInstrument)
src/async_tokio.rs:58
Methodnew
(handler: vs::ViEvent, kind: vs::ViEventType)
src/enums/event.rs:186
Methodnull
create JobId with value null, used in [`Instrument::terminate`] to abort all calls
src/lib.rs:594
Methodparse
(input: ParseStream)
visa-rs-proc/src/lib.rs:125
Methodparse
(input: ParseStream)
visa-rs-proc/src/rusty_ident.rs:15
Methodparse
(input: ParseStream)
visa-rs-proc/src/attrs/mod.rs:21
Methodparse_res
Parse a resource string to get the interface information.
src/lib.rs:322
Methodparse_res_ex
Parse a resource string to get extended interface information. the returned three VisaStrings are: + Specifies the resource class (for example, "INS
src/lib.rs:348
Functionparse_to_u64
(s: &str)
visa-rs-proc/src/lib.rs:45
Methodpoll
( self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
src/async_io.rs:345
Methodpoll_flush
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/async_tokio.rs:212
Methodpoll_read
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/async_tokio.rs:154
Methodpoll_shutdown
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
src/async_tokio.rs:221
Methodpoll_write
( mut self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], )
src/async_tokio.rs:184
Methodread_stb
Reads a status byte of the service request. The IEEE 488.2 standard defines several bit assignments in the status byte. For example, if bit 6 of the
src/instrument.rs:260
Functionrepr
(input: TokenStream)
visa-rs-proc/src/lib.rs:36
Functionrm_behavior
()
src/lib.rs:654
Functionrusty_ident
(input: TokenStream)
visa-rs-proc/src/lib.rs:30
Functionsend_idn
()
tests/io.rs:72
Methodset_buf
Sets the size for the formatted I/O and/or low-level I/O communication buffer(s).
src/instrument.rs:368
Functionsigned_ty_token
(span: proc_macro2::Span)
visa-rs-proc/src/repr.rs:463
Methodsource_span
(&self)
visa-rs-proc/src/attrs/range.rs:84
Functionsplit_to_protocol
(ranges: Vec<String>, defaults: Vec<String>)
fetch-doc/src/main.rs:162
Methodstatus_desc
Returns a user-readable description of the status code passed to the operation.
src/instrument.rs:64
Functionsubst_token_tree
(t: TokenTree)
visa-rs-proc/src/rusty_ident.rs:70
Functiontcpip_socket_idn
()
tests/io.rs:257
Methodterminate
Requests session to terminate normal execution of an operation. This operation is used to request a session to terminate normal execution of an opera
src/instrument.rs:427
Functiontest_visa_num
()
visa-rs-proc/src/lib.rs:83
Functiontokio_async_rw_virtual
()
tests/io.rs:205
Functiontrampoline
( instr: vs::ViSession, event_type: vs::ViEventType, event: vs::ViEvent, user_
src/handler.rs:78
Methodtry_from
(value: vs::ViStatus)
src/lib.rs:153
Methodtry_from
(value: Instrument)
src/async_tokio.rs:24
Methodtry_from
(value: super::attribute::AttrStatus)
src/enums/status.rs:129
Methodunlock
Relinquishes a lock for the specified resource.
src/instrument.rs:152
Functionunsigned_ty_token
(span: proc_macro2::Span)
visa-rs-proc/src/repr.rs:444
Methodupdate_waker
(waker: &std::sync::Arc<std::sync::Mutex<Waker>>, cx: &Context<'_>)
src/async_tokio.rs:68
← previousnext →101–200 of 203, ranked by callers