pub struct LiteLoaderEndpoints { /* private fields */ }Implementations§
Source§impl LiteLoaderEndpoints
impl LiteLoaderEndpoints
pub fn new(origin_policy: OriginPolicy) -> Self
pub fn official() -> Self
pub fn versions_manifest_url(&self) -> Result<String>
pub fn downloads_url(&self) -> Result<String>
pub fn snapshots_url(&self) -> Result<String>
pub fn sponge_maven_url(&self) -> Result<String>
pub fn mojang_libraries_url(&self) -> Result<String>
pub fn maven_central_url(&self) -> Result<String>
Source§impl LiteLoaderEndpoints
impl LiteLoaderEndpoints
pub fn rewrite_upstream(&self, raw_url: &str) -> Result<String>
Trait Implementations§
Source§impl Clone for LiteLoaderEndpoints
impl Clone for LiteLoaderEndpoints
Source§impl Debug for LiteLoaderEndpoints
impl Debug for LiteLoaderEndpoints
Source§impl Default for LiteLoaderEndpoints
impl Default for LiteLoaderEndpoints
Source§impl UpstreamUrlRewriter for LiteLoaderEndpoints
impl UpstreamUrlRewriter for LiteLoaderEndpoints
fn rewrite_upstream(&self, raw_url: &str) -> DriverResult<String>
Auto Trait Implementations§
impl Forget for LiteLoaderEndpoints
impl Freeze for LiteLoaderEndpoints
impl Move for LiteLoaderEndpoints
impl RefUnwindSafe for LiteLoaderEndpoints
impl Send for LiteLoaderEndpointswhere
RawVecInner: Send,
impl Sync for LiteLoaderEndpointswhere
RawVecInner: Sync,
impl Unpin for LiteLoaderEndpoints
impl UnsafeUnpin for LiteLoaderEndpoints
impl UnwindSafe for LiteLoaderEndpointswhere
RawVecInner: UnwindSafe,
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