Struct solana_remote_wallet::locator::Locator[][src]

pub struct Locator {
    pub manufacturer: Manufacturer,
    pub pubkey: Option<Pubkey>,
}

Fields

manufacturer: Manufacturerpubkey: Option<Pubkey>

Implementations

impl Locator[src]

pub fn new_from_path<P: AsRef<str>>(path: P) -> Result<Self, LocatorError>[src]

pub fn new_from_uri(uri: &URIReference<'_>) -> Result<Self, LocatorError>[src]

pub fn new_from_parts<V, VE, P, PE>(
    manufacturer: V,
    pubkey: Option<P>
) -> Result<Self, LocatorError> where
    VE: Into<LocatorError>,
    V: TryInto<Manufacturer, Error = VE>,
    PE: Into<LocatorError>,
    P: TryInto<Pubkey, Error = PE>, 
[src]

Trait Implementations

impl Debug for Locator[src]

impl Display for Locator[src]

impl PartialEq<Locator> for Locator[src]

impl StructuralPartialEq for Locator[src]

Auto Trait Implementations

impl RefUnwindSafe for Locator

impl Send for Locator

impl Sync for Locator

impl Unpin for Locator

impl UnwindSafe for Locator

Blanket Implementations

impl<T> AbiExample for T

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,