pub struct FrameResourceBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> FrameResourceBuilder<'a>
impl<'a> FrameResourceBuilder<'a>
Sourcepub fn lastModified(self, lastModified: TimeSinceEpoch) -> Self
pub fn lastModified(self, lastModified: TimeSinceEpoch) -> Self
last-modified timestamp as reported by server.
Sourcepub fn contentSize(self, contentSize: f64) -> Self
pub fn contentSize(self, contentSize: f64) -> Self
Resource content size.
Sourcepub fn canceled(self, canceled: bool) -> Self
pub fn canceled(self, canceled: bool) -> Self
True if the resource was canceled during loading.
pub fn build(self) -> FrameResource<'a>
Auto Trait Implementations§
impl<'a> Freeze for FrameResourceBuilder<'a>
impl<'a> RefUnwindSafe for FrameResourceBuilder<'a>
impl<'a> Send for FrameResourceBuilder<'a>
impl<'a> Sync for FrameResourceBuilder<'a>
impl<'a> Unpin for FrameResourceBuilder<'a>
impl<'a> UnsafeUnpin for FrameResourceBuilder<'a>
impl<'a> UnwindSafe for FrameResourceBuilder<'a>
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