Struct solana_remote_wallet::locator::Locator [−][src]
pub struct Locator { pub manufacturer: Manufacturer, pub pubkey: Option<Pubkey>, }
Fields
manufacturer: Manufacturer
pubkey: Option<Pubkey>
Implementations
impl Locator
[src]
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]
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>,
Trait Implementations
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> AbiExample for T
pub default fn example() -> T
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,