pub struct UploadStore { /* private fields */ }Implementations§
Source§impl UploadStore
impl UploadStore
pub fn new() -> Self
pub fn invalidate(&self)
pub fn transfer_state(&self) -> &Mutable<TransferState>
pub fn set_transfer_state(&self, transfer_state: TransferState)
pub fn stored(&self) -> bool
pub fn stored_signal(&self) -> impl Signal<Item = bool> + use<>
pub fn stored_status(&self) -> Option<StatusCode>
pub fn stored_status_signal( &self, ) -> impl Signal<Item = Option<StatusCode>> + use<>
pub fn pending(&self) -> bool
pub fn pending_signal(&self) -> impl Signal<Item = bool> + use<>
pub fn store<C>(
&self,
request: Request<'_>,
response_messages: Messages,
result_callback: C,
)where
C: FnOnce(StatusCode) + 'static,
pub fn store_with_response<R, C>( &self, request: Request<'_>, response_entity: MutableOption<R>, response_messages: Messages, result_callback: C, )
Trait Implementations§
Source§impl Default for UploadStore
impl Default for UploadStore
Source§fn default() -> UploadStore
fn default() -> UploadStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UploadStore
impl RefUnwindSafe for UploadStore
impl Send for UploadStore
impl Sync for UploadStore
impl Unpin for UploadStore
impl UnwindSafe for UploadStore
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