[][src]Enum wasm_pack::command::publish::access::Access

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.

Variants

Public

Access is granted to all. All unscoped packages must be public.

Restricted

Access is restricted, granted via npm permissions. Must be a scoped package.

Trait Implementations

impl Debug for Access[src]

impl Display for Access[src]

impl FromStr for Access[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

impl RefUnwindSafe for Access

impl Send for Access

impl Sync for Access

impl Unpin for Access

impl UnwindSafe for Access

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err