pub struct WebViewerData { /* private fields */ }Expand description
The contents of the files that make up the web viewer application.
Loaded once per WebViewerServer via WebViewerData::load,
which does not exist in disable_web_viewer_server builds.
Implementations§
Source§impl WebViewerData
impl WebViewerData
pub fn index_html(&self) -> &[u8] ⓘ
pub fn favicon(&self) -> &[u8] ⓘ
pub fn apple_touch_icon(&self) -> &[u8] ⓘ
pub fn sw_js(&self) -> &[u8] ⓘ
pub fn viewer_js(&self) -> &[u8] ⓘ
pub fn viewer_wasm(&self) -> &[u8] ⓘ
pub fn signed_in_html(&self) -> &[u8] ⓘ
pub fn signed_out_html(&self) -> &[u8] ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebViewerData
impl RefUnwindSafe for WebViewerData
impl Send for WebViewerData
impl Sync for WebViewerData
impl Unpin for WebViewerData
impl UnsafeUnpin for WebViewerData
impl UnwindSafe for WebViewerData
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more