pub enum Website {
NET,
XXX,
}
Expand description
In cases where the standard output domain nhentai.net may be restricted
on the end user’s network, an option can be provided to use nhentai.xxx
URLs instead. Note that the Hentai::new()
constructor will not work if the standard output
domain is blocked. This is because nhentai.xxx does not reimplement
nhentai’s API and requests must still be made to the original URL.
However, if the JSON is provided, one may generate either type of URL regardless of whether or not the original domain is blocked. This feature’s primary purpose is to retrieve information for the doujin under an unrestricted network, and create alternative URLs for the user with the restricted network.
One of these options must be provided in the constructor.
Variants
NET
XXX
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Website
impl Send for Website
impl Sync for Website
impl Unpin for Website
impl UnwindSafe for Website
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more