pub enum Endpoint {
Auto,
Telecom,
Cnc,
Ctt,
}
Expand description
Rest Api 接入点
可选值:
Auto
:根据网络条件自动选择接入点:v0.api.upyun.com(默认)
Telecom
:电信接入点:v1.api.upyun.com
Cnc
:联通网通接入点:v2.api.upyun.com
Ctt
:移动铁通接入点:v3.api.upyun.com
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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