pub enum StringCapability {
Show 394 variants BackTab, Bell, CarriageReturn, ChangeScrollRegion, ClearAllTabs, ClearScreen, ClearEOL, ClearEOS, ColumnAddress, CommandCharacter, CursorAddress, CursorDown, CursorHome, CursorInvisible, CursorLeft, CursorMemAddress, CursorNormal, CursorRight, CursorToLastLine, CursorUp, CursorVisible, DeleteCharacter, DeleteLine, DisStatusLine, DownHalfLine, EnterAltCharsetMode, EnterBlinkMode, EnterBoldMode, EnterAlternativeMode, EnterDeleteMode, EnterDimMode, EnterInsertMode, EnterSecureMode, EnterProtectedMode, EnterReverseMode, EnterStandoutMode, EnterUnderlineMode, EraseChars, ExitAltCharsetMode, ExitAttributeMode, ExitAlternativeMode, ExitDeleteMode, ExitInsertMode, ExitStandoutMode, ExitUnderlineMode, FlashScreen, FormFeed, FromStatusLine, Init1String, Init2String, Init3String, InitFile, InsertCharacter, InsertLine, InsertPadding, KeyBackspace, KeyClearAllTabs, KeyClear, KeyClearTab, KeyDeleteCharacter, KeyDeleteLine, KeyDown, KeyEic, KeyClearEOL, KeyClearEOS, KeyF0, KeyF1, KeyF10, KeyF2, KeyF3, KeyF4, KeyF5, KeyF6, KeyF7, KeyF8, KeyF9, KeyHome, KeyInsertCharacter, KeyInsertLine, KeyLeft, KeyLastLine, KeyNextPage, KeyPreviousPage, KeyRight, KeyScrollForward, KeyScrollBackward, KeySetTab, KeyUp, KeypadLocal, KeypadXmit, LabF0, LabF1, LabF10, LabF2, LabF3, LabF4, LabF5, LabF6, LabF7, LabF8, LabF9, MetaOff, MetaOn, Newline, PadChar, ParmDeleteCharacters, ParmDeleteLine, ParmDownCursor, ParmInsertCharacters, ParmIndex, ParmInsertLine, ParmLeftCursor, ParmRightCursor, ParmReverseIndex, ParmUpCursor, PKeyKey, PKeyLocal, PKeyXmit, PrintScreen, PrinterOff, PrinterOn, RepeatChar, Reset1String, Reset2String, Reset3String, ResetFile, RestoreCursor, RowAddress, SaveCursor, ScrollForward, ScrollReverse, SetAttributes, SetTab, SetWindow, Tab, ToStatusLine, UnderlineChar, UpHalfLine, InitProg, KeyA1, KeyA3, KeyB2, KeyC1, KeyC3, PrinterOnForNBytes, CharPadding, AcsChars, PlabNorm, KeyBackTab, EnterXonMode, ExitXonMode, EnterAutomaticMarginsMode, ExitAutomaticMarginsMode, XOnCharacter, XOffCharacter, EnableAlternateCharSet, LabelOn, LabelOff, KeyBegin, KeyCancel, KeyClose, KeyCommand, KeyCopy, KeyCreate, KeyEnd, KeyEnter, KeyExit, KeyFind, KeyHelp, KeyMark, KeyMessage, KeyMove, KeyNext, KeyOpen, KeyOptions, KeyPrevious, KeyPrint, KeyRedo, KeyReference, KeyRefresh, KeyReplace, KeyRestart, KeyResume, KeySave, KeySuspend, KeyUndo, KeyShiftBegin, KeyShiftCancel, KeyShiftCommand, KeyShiftCopy, KeyShiftCreate, KeyShiftDeleteChar, KeyShiftDeleteLine, KeySelect, KeyShiftEnd, KeyShiftEOL, KeyShiftExit, KeyShiftFind, KeyShiftHelp, KeyShiftHome, KeyShiftInputKey, KeyShiftLeft, KeyShiftMessage, KeyShiftMove, KeyShiftNext, KeyShiftOptions, KeyShiftPrevious, KeyShiftPrint, KeyShiftRedo, KeyShiftReplace, KeyShiftRight, KeyShiftResume, KeyShiftSave, KeyShiftSuspend, KeyShiftUndo, ReqForInput, KeyF11, KeyF12, KeyF13, KeyF14, KeyF15, KeyF16, KeyF17, KeyF18, KeyF19, KeyF20, KeyF21, KeyF22, KeyF23, KeyF24, KeyF25, KeyF26, KeyF27, KeyF28, KeyF29, KeyF30, KeyF31, KeyF32, KeyF33, KeyF34, KeyF35, KeyF36, KeyF37, KeyF38, KeyF39, KeyF40, KeyF41, KeyF42, KeyF43, KeyF44, KeyF45, KeyF46, KeyF47, KeyF48, KeyF49, KeyF50, KeyF51, KeyF52, KeyF53, KeyF54, KeyF55, KeyF56, KeyF57, KeyF58, KeyF59, KeyF60, KeyF61, KeyF62, KeyF63, ClearBOL, ClearMargins, SetLeftMargin, SetRightMargin, LabelFormat, SetClock, DisplayClock, RemoveClock, CreateWindow, GotoWindow, Hangup, DialPhone, QuickDial, Tone, Pulse, FlashHook, FixedPause, WaitTone, User0, User1, User2, User3, User4, User5, User6, User7, User8, User9, OrigColorPair, OrigColors, InitializeColor, InitializePair, SetColorPair, SetForeground, SetBackground, ChangeCharPitch, ChangeLinePitch, ChangeResHorz, ChangeResVert, DefineChar, EnterDoublewideMode, EnterDraftQuality, EnterItalicsMode, EnterLeftwardMode, EnterMicroMode, EnterNearLetterQuality, EnterNormalQuality, EnterShadowMode, EnterSubscriptMode, EnterSuperscriptMode, EnterUpwardMode, ExitDoublewideMode, ExitItalicsMode, ExitLeftwardMode, ExitMicroMode, ExitShadowMode, ExitSubscriptMode, ExitSuperscriptMode, ExitUpwardMode, MicroColumnAddress, MicroDown, MicroLeft, MicroRight, MicroRowAddress, MicroUp, OrderOfPins, ParmDownMicro, ParmLeftMicro, ParmRightMicro, ParmUpMicro, SelectCharSet, SetBottomMargin, SetBottomMarginParm, SetLeftMarginParm, SetRightMarginParm, SetTopMargin, SetTopMarginParm, StartBitImage, StartCharSetDef, StopBitImage, StopCharSetDef, SubscriptCharacters, SuperscriptCharacters, TheseCauseCr, ZeroMotion, CharSetNames, KeyMouse, MouseInfo, ReqMousePos, GetMouse, SetAnsiForeground, SetAnsiBackground, PKeyPlab, DeviceType, CodeSetInit, Set0DesSeq, Set1DesSeq, Set2DesSeq, Set3DesSeq, SetLrMargin, SetTbMargin, BitImageRepeat, BitImageNewline, BitImageCarriageReturn, ColorNames, DefineBitImageRegion, EndBitImageRegion, SetColorBand, SetPageLength, DisplayPcChar, EnterPcCharsetMode, ExitPcCharsetMode, EnterScancodeMode, ExitScancodeMode, PcTermOptions, ScancodeEscape, AltScancodeEsc, EnterHorizontalHlMode, EnterLeftHlMode, EnterLowHlMode, EnterRightHlMode, EnterTopHlMode, EnterVerticalHlMode, SetAAttributes, SetPageLenInch,
}
Expand description

Known string capabilities

Variants

BackTab

Back tab

Bell

Audible signal (bell)

CarriageReturn

Carriage return

ChangeScrollRegion

Change to lines #1 through #2 (VT100)

ClearAllTabs

Clear all tab stops

ClearScreen

Clear screen and home cursor

ClearEOL

Clear to end of line

ClearEOS

Clear to end of display

ColumnAddress

Set horizontal position to absolute #1

CommandCharacter

Terminal settable cmd characterin prototype

CursorAddress

Move to row #1 col #2

CursorDown

Down one line

CursorHome

Home cursor (if no cup)

CursorInvisible

Make cursor invisible

CursorLeft

Move left one space.

CursorMemAddress

Memory relative cursor addressing

CursorNormal

Make cursor appear normal (undo vs/vi)

CursorRight

Non-destructive space (cursor or carriage right)

CursorToLastLine

Last line, first column (if no cup)

CursorUp

Upline (cursor up)

CursorVisible

Make cursor very visible

DeleteCharacter

Delete character

DeleteLine

Delete line

DisStatusLine

Disable status line

DownHalfLine

Half-line down (forward 1/2 linefeed)

EnterAltCharsetMode

Start alternate character set

EnterBlinkMode

Turn on blinking

EnterBoldMode

Turn on bold (extra bright) mode

EnterAlternativeMode

String to begin programs that use cup

EnterDeleteMode

Delete mode (enter)

EnterDimMode

Turn on half-bright mode

EnterInsertMode

Insert mode (enter)

EnterSecureMode

Turn on blank mode (characters invisible)

EnterProtectedMode

Turn on protected mode

EnterReverseMode

Turn on reverse video mode

EnterStandoutMode

Begin standout mode

EnterUnderlineMode

Start underscore mode

EraseChars

Erase #1 characters

ExitAltCharsetMode

End alternate character set

ExitAttributeMode

Turn off all attributes

ExitAlternativeMode

String to end programs that use cup

ExitDeleteMode

End delete mode

ExitInsertMode

End insert mode

ExitStandoutMode

End standout mode

ExitUnderlineMode

End underscore mode

FlashScreen

Visible bell (may move cursor)

FormFeed

Hardcopy terminal page eject

FromStatusLine

Return from status line

Init1String

Terminal or printer initialisation string

Init2String

Terminal or printer initialisation string

Init3String

Terminal or printer initialisation string

InitFile

Name of initialisation file

InsertCharacter

Insert character

InsertLine

Add new blank line

InsertPadding

Insert pad after character inserted

KeyBackspace

sent by backspace key

KeyClearAllTabs

sent by clear-all-tabs key

KeyClear

sent by clear-screen or erase key

KeyClearTab

sent by clear-tab key

KeyDeleteCharacter

sent by delete-character key

KeyDeleteLine

sent by delete-line key

KeyDown

sent by terminal down-arrow key

KeyEic

sent by rmir or smir in insert mode

KeyClearEOL

sent by clear-to-end-of-line key

KeyClearEOS

sent by clear-to-end-of-screen key

KeyF0

sent by function key f0

KeyF1

sent by function key f1

KeyF10

sent by function key f10

KeyF2

sent by function key f2

KeyF3

sent by function key f3

KeyF4

sent by function key f4

KeyF5

sent by function key f5

KeyF6

sent by function key f6

KeyF7

sent by function key f7

KeyF8

sent by function key f8

KeyF9

sent by function key f9

KeyHome

sent by home key

KeyInsertCharacter

sent by ins-char/enter ins-mode key

KeyInsertLine

sent by insert-line key

KeyLeft

sent by terminal left-arrow key

KeyLastLine

sent by home-down key

KeyNextPage

sent by next-page key

KeyPreviousPage

sent by previous-page key

KeyRight

sent by terminal right-arrow key

KeyScrollForward

sent by scroll-forward/down key

KeyScrollBackward

sent by scroll-backward/up key

KeySetTab

sent by set-tab key

KeyUp

sent by terminal up-arrow key

KeypadLocal

Out of ‘keypad-transmit’ mode

KeypadXmit

Put terminal in ‘keypad-transmit’ mode

LabF0

Labels on function key f0 if not f0

LabF1

Labels on function key f1 if not f1

LabF10

Labels on function key f10 if not f10

LabF2

Labels on function key f2 if not f2

LabF3

Labels on function key f3 if not f3

LabF4

Labels on function key f4 if not f4

LabF5

Labels on function key f5 if not f5

LabF6

Labels on function key f6 if not f6

LabF7

Labels on function key f7 if not f7

LabF8

Labels on function key f8 if not f8

LabF9

Labels on function key f9 if not f9

MetaOff

Turn off ‘meta mode’

MetaOn

Turn on ‘meta mode’ (8th bit)

Newline

Newline (behaves like cr followed by lf)

PadChar

Pad character (rather than null)

ParmDeleteCharacters

Delete #1 chars

ParmDeleteLine

Delete #1 lines

ParmDownCursor

Move down #1 lines.

ParmInsertCharacters

Insert #1 blank chars

ParmIndex

Scroll forward #1 lines.

ParmInsertLine

Add #1 new blank lines

ParmLeftCursor

Move cursor left #1 spaces

ParmRightCursor

Move right #1 spaces.

ParmReverseIndex

Scroll backward #1 lines.

ParmUpCursor

Move cursor up #1 lines.

PKeyKey

Prog funct key #1 to type string #2

PKeyLocal

Prog funct key #1 to execute string #2

PKeyXmit

Prog funct key #1 to xmit string #2

PrintScreen

Print contents of the screen

PrinterOff

Turn off the printer

PrinterOn

Turn on the printer

RepeatChar

Repeat char #1 #2 times

Reset1String

Reset terminal completely to sane modes

Reset2String

Reset terminal completely to sane modes

Reset3String

Reset terminal completely to sane modes

ResetFile

Name of file containing reset string

RestoreCursor

Restore cursor to position of last sc

RowAddress

Set vertical position to absolute #1

SaveCursor

Save cursor position

ScrollForward

Scroll text up

ScrollReverse

Scroll text down

SetAttributes

Define first set of video attributes #1-#9

SetTab

Set a tab in all rows, current column

SetWindow

Current window is lines #1-#2 cols #3-#4

Tab

Tab to next 8-space hardware tab stop

ToStatusLine

Go to status line, col #1

UnderlineChar

Underscore one char and move past it

UpHalfLine

Half-line up (reverse 1/2 linefeed)

InitProg

Path name of program for initialisation

KeyA1

upper left of keypad

KeyA3

upper right of keypad

KeyB2

center of keypad

KeyC1

lower left of keypad

KeyC3

lower right of keypad

PrinterOnForNBytes

Turn on the printer for #1 bytes

CharPadding

Like ip but when in replace mode

AcsChars

Graphic charset pairs aAbBcC

PlabNorm

Prog label #1 to show string #2

KeyBackTab

sent by back-tab key

EnterXonMode

Turn on xon/xoff handshaking

ExitXonMode

Turn off xon/xoff handshaking

EnterAutomaticMarginsMode

Turn on automatic margins

ExitAutomaticMarginsMode

Turn off automatic margins

XOnCharacter

X-on character

XOffCharacter

X-off character

EnableAlternateCharSet

Enable alternate character set

LabelOn

Turn on soft labels

LabelOff

Turn off soft labels

KeyBegin

1

KeyCancel

2

KeyClose

3

KeyCommand

4

KeyCopy

5

KeyCreate

6

KeyEnd

7

KeyEnter

8

KeyExit

9

KeyFind

0

KeyHelp

sent by help key

KeyMark

sent by mark key

KeyMessage

sent by message key

KeyMove

sent by move key

KeyNext

sent by next-object key

KeyOpen

sent by open key

KeyOptions

sent by options key

KeyPrevious

sent by previous-object key

KeyPrint

sent by print or copy key

KeyRedo

sent by redo key

KeyReference

sent by ref(erence) key

KeyRefresh

sent by refresh key

KeyReplace

sent by replace key

KeyRestart

sent by restart key

KeyResume

sent by resume key

KeySave

sent by save key

KeySuspend

sent by suspend key

KeyUndo

sent by undo key

KeyShiftBegin

sent by shifted beginning key

KeyShiftCancel

sent by shifted cancel key

KeyShiftCommand

sent by shifted command key

KeyShiftCopy

sent by shifted copy key

KeyShiftCreate

sent by shifted create key

KeyShiftDeleteChar

sent by shifted delete-char key

KeyShiftDeleteLine

sent by shifted delete-line key

KeySelect

sent by select key

KeyShiftEnd

sent by shifted end key

KeyShiftEOL

sent by shifted clear-line key

KeyShiftExit

sent by shifted exit key

KeyShiftFind

sent by shifted find key

KeyShiftHelp

#1 sent by shifted help key

KeyShiftHome

#2 sent by shifted home key

KeyShiftInputKey

#3 sent by shifted input key

KeyShiftLeft

#4 sent by shifted left-arrow key

KeyShiftMessage

sent by shifted message key

KeyShiftMove

sent by shifted move key

KeyShiftNext

sent by shifted next key

KeyShiftOptions

sent by shifted options key

KeyShiftPrevious

sent by shifted prev key

KeyShiftPrint

sent by shifted print key

KeyShiftRedo

sent by shifted redo key

KeyShiftReplace

sent by shifted replace key

KeyShiftRight

sent by shifted right-arrow key

KeyShiftResume

sent by shifted resume key

KeyShiftSave

!1 sent by shifted save key

KeyShiftSuspend

!2 sent by shifted suspend key

KeyShiftUndo

!3 sent by shifted undo key

ReqForInput

Send next input char (for ptys)

KeyF11

sent by function key f11

KeyF12

sent by function key f12

KeyF13

sent by function key f13

KeyF14

sent by function key f14

KeyF15

sent by function key f15

KeyF16

sent by function key f16

KeyF17

sent by function key f17

KeyF18

sent by function key f18

KeyF19

sent by function key f19

KeyF20

sent by function key f20

KeyF21

sent by function key f21

KeyF22

sent by function key f22

KeyF23

sent by function key f23

KeyF24

sent by function key f24

KeyF25

sent by function key f25

KeyF26

sent by function key f26

KeyF27

sent by function key f27

KeyF28

sent by function key f28

KeyF29

sent by function key f29

KeyF30

sent by function key f30

KeyF31

sent by function key f31

KeyF32

sent by function key f32

KeyF33

sent by function key f33

KeyF34

sent by function key f34

KeyF35

sent by function key f35

KeyF36

sent by function key f36

KeyF37

sent by function key f37

KeyF38

sent by function key f38

KeyF39

sent by function key f39

KeyF40

sent by function key f40

KeyF41

sent by function key f41

KeyF42

sent by function key f42

KeyF43

sent by function key f43

KeyF44

sent by function key f44

KeyF45

sent by function key f45

KeyF46

sent by function key f46

KeyF47

sent by function key f47

KeyF48

sent by function key f48

KeyF49

sent by function key f49

KeyF50

sent by function key f50

KeyF51

sent by function key f51

KeyF52

sent by function key f52

KeyF53

sent by function key f53

KeyF54

sent by function key f54

KeyF55

sent by function key f55

KeyF56

sent by function key f56

KeyF57

sent by function key f57

KeyF58

sent by function key f58

KeyF59

sent by function key f59

KeyF60

sent by function key f60

KeyF61

sent by function key f61

KeyF62

sent by function key f62

KeyF63

sent by function key f63

ClearBOL

Clear to beginning of line, inclusive

ClearMargins

Clear all margins (top, bottom, and sides)

SetLeftMargin

Set left margin at current column

SetRightMargin

Set right margin at current column

LabelFormat

Label format

SetClock

Set clock to hours (#1), minutes (#2), seconds (#3)

DisplayClock

Display time-of-day clock

RemoveClock

Remove time-of-day clock

CreateWindow

Define win #1 to go from #2,#3 to #4,#5

GotoWindow

Go to window #1

Hangup

Hang-up phone

DialPhone

Dial phone number #1

QuickDial

Dial phone number #1, without progress detection

Tone

Select touch tone dialing

Pulse

Select pulse dialing

FlashHook

Flash the switch hook

FixedPause

Pause for 2-3 seconds

WaitTone

Wait for dial tone

User0

User string 0

User1

User string 1

User2

User string 2

User3

User string 3

User4

User string 4

User5

User string 5

User6

User string 6

User7

User string 7

User8

User string 8

User9

User string 9

OrigColorPair

Set default colour-pair to the original one

OrigColors

Set all colour(-pair)s to the original ones

InitializeColor

Set colour #1 to RGB #2, #3, #4

InitializePair

Set colour-pair #1 to fg #2, bg #3

SetColorPair

Set current colour pair to #1

SetForeground

Set foreground colour to #1

SetBackground

Set background colour to #1

ChangeCharPitch

Change number of characters per inch

ChangeLinePitch

Change number of lines per inch

ChangeResHorz

Change horizontal resolution

ChangeResVert

Change vertical resolution

DefineChar

Define a character in a character set

EnterDoublewideMode

Enable double wide printing

EnterDraftQuality

Set draft quality print

EnterItalicsMode

Enable italics

EnterLeftwardMode

Enable leftward carriage motion

EnterMicroMode

Enable micro motion capabilities

EnterNearLetterQuality

Set near-letter quality print

EnterNormalQuality

Set normal quality print

EnterShadowMode

Enable shadow printing

EnterSubscriptMode

Enable subscript printing

EnterSuperscriptMode

Enable superscript printing

EnterUpwardMode

Enable upward carriage motion

ExitDoublewideMode

Disable double wide printing

ExitItalicsMode

Disable italics

ExitLeftwardMode

Enable rightward (normal) carriage motion

ExitMicroMode

Disable micro motion capabilities

ExitShadowMode

Disable shadow printing

ExitSubscriptMode

Disable subscript printing

ExitSuperscriptMode

Disable superscript printing

ExitUpwardMode

Enable downward (normal) carriage motion

MicroColumnAddress

Like columnaddress for micro adjustment

MicroDown

Like cursordown for micro adjustment

MicroLeft

Like cursorleft for micro adjustment

MicroRight

Like cursorright for micro adjustment

MicroRowAddress

Like rowaddress for micro adjustment

MicroUp

Like cursorup for micro adjustment

OrderOfPins

Matches software bits to print-head pins

ParmDownMicro

Like parmdowncursor for micro adjust.

ParmLeftMicro

Like parmleftcursor for micro adjust.

ParmRightMicro

Like parmrightcursor for micro adjust.

ParmUpMicro

Like parmupcursor for micro adjust.

SelectCharSet

Select character set

SetBottomMargin

Set bottom margin at current line

SetBottomMarginParm

Set bottom margin at line #1 or #2 lines from bottom

SetLeftMarginParm

Set left (right) margin at column #1 (#2)

SetRightMarginParm

Set right margin at column #1

SetTopMargin

Set top margin at current line

SetTopMarginParm

Set top (bottom) margin at line #1 (#2)

StartBitImage

Start printing bit image graphics

StartCharSetDef

Start definition of a character set

StopBitImage

End printing bit image graphics

StopCharSetDef

End definition of a character set

SubscriptCharacters

List of ‘subscript-able’ characters

SuperscriptCharacters

List of ‘superscript-able’ characters

TheseCauseCr

Printing any of these chars causes cr

ZeroMotion

No motion for the subsequent character

CharSetNames

Returns a list of character set names

KeyMouse

0631, Mouse event has occured

MouseInfo

Mouse status information

ReqMousePos

Request mouse position report

GetMouse

Curses should get button events

SetAnsiForeground

Set foreground colour to #1 using ANSI escape

SetAnsiBackground

Set background colour to #1 using ANSI escape

PKeyPlab

Prog key #1 to xmit string #2 and show string #3

DeviceType

Indicate language/codeset support

CodeSetInit

Init sequence for multiple codesets

Set0DesSeq

Shift into codeset 0 (EUC set 0, ASCII)

Set1DesSeq

Shift into codeset 1

Set2DesSeq

Shift into codeset 2

Set3DesSeq

Shift into codeset 3

SetLrMargin

Sets both left and right margins

SetTbMargin

Sets both top and bottom margins

BitImageRepeat

Repeat bit-image cell #1 #2 times

BitImageNewline

Move to next row of the bit image

BitImageCarriageReturn

Move to beginning of same row

ColorNames

Give name for colour #1

DefineBitImageRegion

Define rectangular bit-image region

EndBitImageRegion

End a bit-image region

SetColorBand

Change to ribbon colour #1

SetPageLength

Set page length to #1 lines

DisplayPcChar

Display PC character

EnterPcCharsetMode

Enter PC character display mode

ExitPcCharsetMode

Disable PC character display mode

EnterScancodeMode

Enter PC scancode mode

ExitScancodeMode

Disable PC scancode mode

PcTermOptions

PC terminal options

ScancodeEscape

Escape for scancode emulation

AltScancodeEsc

Alternate escape for scancode emulation (default is for VT100)

EnterHorizontalHlMode

Turn on horizontal highlight mode

EnterLeftHlMode

Turn on left highlight mode

EnterLowHlMode

Turn on low highlight mode

EnterRightHlMode

Turn on right highlight mode

EnterTopHlMode

Turn on top highlight mode

EnterVerticalHlMode

Turn on vertical highlight mode

SetAAttributes

Define second set of video attributes #1-#6

SetPageLenInch

Set page length to #1 hundredth of an inch

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.