pub enum Access {
Public,
Restricted,
}
Represents access level for the to-be publish package. Passed to wasm-pack publish
as a flag, e.g. --access=public
.
Access is granted to all. All unscoped packages must be public.
Access is restricted, granted via npm permissions. Must be a scoped package.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
The associated error which can be returned from parsing.
Parses a string s
to return a value of this type. Read more
Converts the given value to a String
. Read more
π¬ This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
π¬ This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
π¬ This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
π¬ This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
π¬ This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static