Enum nakamoto_node::LoadingHandler
source · pub enum LoadingHandler {
Ignore,
Channel(Sender<Loading>),
}
Expand description
Configuration for loading event handling.
Variants
Ignore
Ignore events.
Channel(Sender<Loading>)
Send events to given channel.
Trait Implementations
sourceimpl Default for LoadingHandler
impl Default for LoadingHandler
sourcefn default() -> LoadingHandler
fn default() -> LoadingHandler
Returns the “default value” for a type. Read more
sourceimpl From<Sender<Loading>> for LoadingHandler
impl From<Sender<Loading>> for LoadingHandler
sourcefn from(c: Sender<Loading>) -> LoadingHandler
fn from(c: Sender<Loading>) -> LoadingHandler
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for LoadingHandler
impl Send for LoadingHandler
impl Sync for LoadingHandler
impl Unpin for LoadingHandler
impl UnwindSafe for LoadingHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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