Struct ambient_api::core::package::messages::PackageLoadFailure
source · pub struct PackageLoadFailure {
pub url: String,
pub reason: String,
}
Expand description
PackageLoadFailure: A package has failed to load.
Fields§
§url: String
§reason: String
Implementations§
Trait Implementations§
source§impl Clone for PackageLoadFailure
impl Clone for PackageLoadFailure
source§fn clone(&self) -> PackageLoadFailure
fn clone(&self) -> PackageLoadFailure
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PackageLoadFailure
impl Debug for PackageLoadFailure
source§impl RuntimeMessage for PackageLoadFailure
impl RuntimeMessage for PackageLoadFailure
source§fn subscribe<R>(callback: impl FnMut(Self) -> R + 'static) -> Listenerwhere
R: CallbackReturn,
fn subscribe<R>(callback: impl FnMut(Self) -> R + 'static) -> Listenerwhere
R: CallbackReturn,
Subscribes to this Message. Wrapper around self::subscribe.
impl Message for PackageLoadFailure
Auto Trait Implementations§
impl RefUnwindSafe for PackageLoadFailure
impl Send for PackageLoadFailure
impl Sync for PackageLoadFailure
impl Unpin for PackageLoadFailure
impl UnwindSafe for PackageLoadFailure
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.