pub enum WebPage {
Empty(WebPageEmpty),
Pending(WebPagePending),
WebPage(WebPage),
NotModified(WebPageNotModified),
}Expand description
Variants§
Trait Implementations§
Source§impl Deserializable for WebPage
impl Deserializable for WebPage
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<WebPageEmpty> for WebPage
impl From<WebPageEmpty> for WebPage
Source§fn from(x: WebPageEmpty) -> Self
fn from(x: WebPageEmpty) -> Self
Converts to this type from the input type.
Source§impl From<WebPageNotModified> for WebPage
impl From<WebPageNotModified> for WebPage
Source§fn from(x: WebPageNotModified) -> Self
fn from(x: WebPageNotModified) -> Self
Converts to this type from the input type.
Source§impl From<WebPagePending> for WebPage
impl From<WebPagePending> for WebPage
Source§fn from(x: WebPagePending) -> Self
fn from(x: WebPagePending) -> Self
Converts to this type from the input type.
Source§impl Serializable for WebPage
impl Serializable for WebPage
Source§impl TryFrom<WebPage> for WebPageEmpty
impl TryFrom<WebPage> for WebPageEmpty
Source§impl TryFrom<WebPage> for WebPageNotModified
impl TryFrom<WebPage> for WebPageNotModified
Source§impl TryFrom<WebPage> for WebPagePending
impl TryFrom<WebPage> for WebPagePending
impl StructuralPartialEq for WebPage
Auto Trait Implementations§
impl Freeze for WebPage
impl RefUnwindSafe for WebPage
impl Send for WebPage
impl Sync for WebPage
impl Unpin for WebPage
impl UnsafeUnpin for WebPage
impl UnwindSafe for WebPage
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