Struct patternfly_yew::Toaster
source · [−]pub struct Toaster { /* private fields */ }Expand description
An agent for displaying toasts.
Trait Implementations
sourceimpl Agent for Toaster
impl Agent for Toaster
type Input = ToasterRequest
type Input = ToasterRequest
Incoming message type.
type Output = ToastAction
type Output = ToastAction
Outgoing message type.
sourcefn handle_input(&mut self, msg: Self::Input, _: HandlerId)
fn handle_input(&mut self, msg: Self::Input, _: HandlerId)
This method called on every incoming message.
sourcefn disconnected(&mut self, id: HandlerId)
fn disconnected(&mut self, id: HandlerId)
This method called on when a new bridge destroyed.
sourcefn name_of_resource() -> &'static str
fn name_of_resource() -> &'static str
Represents the name of loading resorce for remote workers which have to live in a separate files. Read more
sourcefn resource_path_is_relative() -> bool
fn resource_path_is_relative() -> bool
Indicates whether the name of the resource is relative. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Toaster
impl !Send for Toaster
impl !Sync for Toaster
impl Unpin for Toaster
impl !UnwindSafe for Toaster
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.