pub enum Netspeed {
Gsm,
Hscsd,
Gprs,
Wdge,
Umts,
Hsdpa,
Lte,
Evdo,
Full,
Num,
Up,
Down,
}
Variantsยง
Trait Implementationsยง
impl Copy for Netspeed
impl Eq for Netspeed
impl StructuralPartialEq for Netspeed
Auto Trait Implementationsยง
impl Freeze for Netspeed
impl RefUnwindSafe for Netspeed
impl Send for Netspeed
impl Sync for Netspeed
impl Unpin for Netspeed
impl UnwindSafe for Netspeed
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more