pub enum WebBoardSource {
Url(String),
Folder(PathBuf),
}Expand description
What a web board shows.
Variants§
Url(String)
url: a web page, normalized by the URL parser.
Folder(PathBuf)
path: an absolute folder of built web app files with an
index.html, served to the board from its own private origin.
Trait Implementations§
Source§impl Clone for WebBoardSource
impl Clone for WebBoardSource
Source§impl Debug for WebBoardSource
impl Debug for WebBoardSource
impl Eq for WebBoardSource
Source§impl PartialEq for WebBoardSource
impl PartialEq for WebBoardSource
impl StructuralPartialEq for WebBoardSource
Auto Trait Implementations§
impl Forget for WebBoardSource
impl Freeze for WebBoardSource
impl Move for WebBoardSource
impl RefUnwindSafe for WebBoardSource
impl Send for WebBoardSource
impl Sync for WebBoardSource
impl Unpin for WebBoardSource
impl UnsafeUnpin for WebBoardSource
impl UnwindSafe for WebBoardSource
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