pub struct NavigateReturnsBuilder<'a> { /* private fields */ }Implementations§
Sourcepub fn loader_id(self, loader_id: LoaderId<'a>) -> Self
pub fn loader_id(self, loader_id: LoaderId<'a>) -> Self
Loader identifier. This is omitted in case of same-document navigation, as the previously committed loaderId would not change.
Sourcepub fn error_text(self, error_text: impl Into<Cow<'a, str>>) -> Self
pub fn error_text(self, error_text: impl Into<Cow<'a, str>>) -> Self
User friendly error message, present if and only if navigation has failed.
Sourcepub fn is_download(self, is_download: bool) -> Self
pub fn is_download(self, is_download: bool) -> Self
Whether the navigation resulted in a download.
pub fn build(self) -> NavigateReturns<'a>
Auto Trait Implementations§
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