MCPconceptAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

InputSink.init(from:)

init(from: any Decoder)

Inherited from RawRepresentable.init(from:)

Creates a new instance by decoding from the given decoder, when the type's RawValue is String.

Description

This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

  • Parameter decoder: The decoder to read data from.
Parameters
Errors
Esc
Search in

Type to search.

Reference previewOpen reference