pub enum AuthorityRequest {
Lookup {
package_url: PackageUrl,
responder: AuthorityLookupResponder,
},
}Expand description
A mapping from package URLs [0] to package hashes and blob sources. [0] https://fuchsia.dev/fuchsia-src/concepts/packages/package_url
Variants§
Lookup
Get information about a package from this Authority.
Implementations§
Source§impl AuthorityRequest
impl AuthorityRequest
pub fn into_lookup(self) -> Option<(PackageUrl, AuthorityLookupResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AuthorityRequest
impl !UnwindSafe for AuthorityRequest
impl Freeze for AuthorityRequest
impl Send for AuthorityRequest
impl Sync for AuthorityRequest
impl Unpin for AuthorityRequest
impl UnsafeUnpin for AuthorityRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more