☰
Result
Result
In syn
Modules
buffer
ext
parse
punctuated
spanned
token
Macros
Token
braced
bracketed
custom_keyword
custom_punctuation
parenthesized
parse_macro_input
parse_quote
parse_quote_spanned
Structs
Abi
AngleBracketedGenericArguments
Arm
Attribute
BareFnArg
Binding
Block
BoundLifetimes
ConstParam
Constraint
DataEnum
DataStruct
DataUnion
DeriveInput
Error
ExprArray
ExprAssign
ExprAssignOp
ExprAsync
ExprAwait
ExprBinary
ExprBlock
ExprBox
ExprBreak
ExprCall
ExprCast
ExprClosure
ExprContinue
ExprField
ExprForLoop
ExprGroup
ExprIf
ExprIndex
ExprLet
ExprLit
ExprLoop
ExprMacro
ExprMatch
ExprMethodCall
ExprParen
ExprPath
ExprRange
ExprReference
ExprRepeat
ExprReturn
ExprStruct
ExprTry
ExprTryBlock
ExprTuple
ExprType
ExprUnary
ExprUnsafe
ExprWhile
ExprYield
Field
FieldPat
FieldValue
FieldsNamed
FieldsUnnamed
File
ForeignItemFn
ForeignItemMacro
ForeignItemStatic
ForeignItemType
Generics
Ident
ImplGenerics
ImplItemConst
ImplItemMacro
ImplItemMethod
ImplItemType
Index
ItemConst
ItemEnum
ItemExternCrate
ItemFn
ItemForeignMod
ItemImpl
ItemMacro
ItemMacro2
ItemMod
ItemStatic
ItemStruct
ItemTrait
ItemTraitAlias
ItemType
ItemUnion
ItemUse
Label
Lifetime
LifetimeDef
LitBool
LitByte
LitByteStr
LitChar
LitFloat
LitInt
LitStr
Local
Macro
MetaList
MetaNameValue
MethodTurbofish
ParenthesizedGenericArguments
PatBox
PatIdent
PatLit
PatMacro
PatOr
PatPath
PatRange
PatReference
PatRest
PatSlice
PatStruct
PatTuple
PatTupleStruct
PatType
PatWild
Path
PathSegment
PredicateEq
PredicateLifetime
PredicateType
QSelf
Receiver
Signature
TraitBound
TraitItemConst
TraitItemMacro
TraitItemMethod
TraitItemType
Turbofish
TypeArray
TypeBareFn
TypeGenerics
TypeGroup
TypeImplTrait
TypeInfer
TypeMacro
TypeNever
TypeParam
TypeParen
TypePath
TypePtr
TypeReference
TypeSlice
TypeTraitObject
TypeTuple
UseGlob
UseGroup
UseName
UsePath
UseRename
Variadic
Variant
VisCrate
VisPublic
VisRestricted
WhereClause
Enums
AttrStyle
BinOp
Data
Expr
Fields
FnArg
ForeignItem
GenericArgument
GenericMethodArgument
GenericParam
ImplItem
Item
Lit
MacroDelimiter
Member
Meta
NestedMeta
Pat
PathArguments
RangeLimits
ReturnType
Stmt
StrStyle
TraitBoundModifier
TraitItem
Type
TypeParamBound
UnOp
UseTree
Visibility
WherePredicate
Functions
parse
parse2
parse_file
parse_str
Type Definitions
AttributeArgs
Result
?
Type Definition
syn
::
Result
source
·
[
−
]
pub type Result<T> =
Result
<T,
Error
>;
Expand description
The result of a Syn parser.