struct libtmux-elixir
Ref
An exact observed target bound to one server instance.
Source and package
- Qualified name
-
LibTmux. Ref - Module
- LibTmux
- Package
- libtmux
- Source
- lib/libtmux/ref.ex
Members9 members
Common operations2
- id/0: id() ::
String
.t () | {String.t (), non_neg (), String_integer .t ()} typealias A native ID or observed session/index/window link binding; neither reserves an object's lifetime. - from_observation/1 function Builds a reference from an observation's own identity and server instance.
Other members7
- entity: entity() property Required: building the struct without this key is an error.
- entity/0: entity() :: :session | :window | :pane | :window_link | :client typealias The target kind; physical windows and session-relative links have different identities.
- id: id() property Required: building the struct without this key is an error.
- new/3 function Validates a native identity and binds it to a nonempty instance token.
- server_instance: String
.t () property Required: building the struct without this key is an error. - t/0: t() :: %Lib
Tmux { entity: entity(), id: id(), server_instance: String.Ref .t () } typealias An exact observed identity bound to a tmux server incarnation, separate from a connection epoch. - validate/2 function Rejects malformed references and known server-instance mismatches.
Guides
task materialPages that discuss Ref.