pub enum StandardProtocolFamily {
INet,
INet6,
Unix,
}Expand description
java.net.StandardProtocolFamily
Variants§
INet
java.net.StandardProtocolFamily.INET
INet6
java.net.StandardProtocolFamily.INET6
Unix
java.net.StandardProtocolFamily.UNIX
Implementations§
Source§impl StandardProtocolFamily
impl StandardProtocolFamily
Sourcepub fn into_protocol_family(self, e: &mut Env<'_>) -> ProtocolFamily
pub fn into_protocol_family(self, e: &mut Env<'_>) -> ProtocolFamily
cast a StandardProtocolFamily to ProtocolFamily
Trait Implementations§
Source§impl Class for StandardProtocolFamily
impl Class for StandardProtocolFamily
Source§impl Clone for StandardProtocolFamily
impl Clone for StandardProtocolFamily
Source§fn clone(&self) -> StandardProtocolFamily
fn clone(&self) -> StandardProtocolFamily
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StandardProtocolFamily
impl Debug for StandardProtocolFamily
Source§impl Object for StandardProtocolFamily
impl Object for StandardProtocolFamily
Source§fn downcast_ref(&self, e: &mut Env<'_>) -> Object
fn downcast_ref(&self, e: &mut Env<'_>) -> Object
Create an object reference from
&selfSource§fn upcast_value_ref<'e>(e: &mut Env<'e>, jv: JValue<'e, '_>) -> Selfwhere
Self: Sized,
fn upcast_value_ref<'e>(e: &mut Env<'e>, jv: JValue<'e, '_>) -> Selfwhere
Self: Sized,
Try to interpret a
JValue as SelfSource§fn upcast_value<'e>(e: &mut Env<'e>, jv: JValueOwned<'e>) -> Selfwhere
Self: Sized,
fn upcast_value<'e>(e: &mut Env<'e>, jv: JValueOwned<'e>) -> Selfwhere
Self: Sized,
Try to interpret a
JValueOwned as SelfSource§fn downcast_value<'e>(self, e: &mut Env<'e>) -> JValueOwned<'e>where
Self: Sized,
fn downcast_value<'e>(self, e: &mut Env<'e>) -> JValueOwned<'e>where
Self: Sized,
Create a
JValueOwned from selfSource§fn yield_to_java(&self, e: &mut Env<'_>) -> jobject
fn yield_to_java(&self, e: &mut Env<'_>) -> jobject
Use this to yield ownership of a
java::lang::Object
to the JVM, for example when returning a jobject from a
native function.Source§impl Ord for StandardProtocolFamily
impl Ord for StandardProtocolFamily
Source§fn cmp(&self, other: &StandardProtocolFamily) -> Ordering
fn cmp(&self, other: &StandardProtocolFamily) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StandardProtocolFamily
impl PartialEq for StandardProtocolFamily
Source§fn eq(&self, other: &StandardProtocolFamily) -> bool
fn eq(&self, other: &StandardProtocolFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StandardProtocolFamily
impl PartialOrd for StandardProtocolFamily
impl Copy for StandardProtocolFamily
impl Eq for StandardProtocolFamily
impl StructuralPartialEq for StandardProtocolFamily
Auto Trait Implementations§
impl Freeze for StandardProtocolFamily
impl RefUnwindSafe for StandardProtocolFamily
impl Send for StandardProtocolFamily
impl Sync for StandardProtocolFamily
impl Unpin for StandardProtocolFamily
impl UnsafeUnpin for StandardProtocolFamily
impl UnwindSafe for StandardProtocolFamily
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<F, A, TF, T> Sequence<F, A, TF> for T
impl<F, A, TF, T> Sequence<F, A, TF> for T
Source§fn sequence<Ap>(self) -> <Ap as HKT1>::T<<F as HKT1>::T<A>>where
Self: Sized + Traversable<F, <Ap as HKT1>::T<A>, A, TF> + Foldable<F, <Ap as HKT1>::T<A>>,
Ap: HKT1,
<Ap as HKT1>::T<A>: Applicative<Ap, A> + ApplyOnce<Ap, A>,
<Ap as HKT1>::T<TF>: Applicative<Ap, TF> + ApplyOnce<Ap, TF>,
<Ap as HKT1>::T<<F as HKT1>::T<A>>: Applicative<Ap, <F as HKT1>::T<A>> + ApplyOnce<Ap, <F as HKT1>::T<A>>,
F: HKT1<T<<Ap as HKT1>::T<A>> = Self>,
fn sequence<Ap>(self) -> <Ap as HKT1>::T<<F as HKT1>::T<A>>where
Self: Sized + Traversable<F, <Ap as HKT1>::T<A>, A, TF> + Foldable<F, <Ap as HKT1>::T<A>>,
Ap: HKT1,
<Ap as HKT1>::T<A>: Applicative<Ap, A> + ApplyOnce<Ap, A>,
<Ap as HKT1>::T<TF>: Applicative<Ap, TF> + ApplyOnce<Ap, TF>,
<Ap as HKT1>::T<<F as HKT1>::T<A>>: Applicative<Ap, <F as HKT1>::T<A>> + ApplyOnce<Ap, <F as HKT1>::T<A>>,
F: HKT1<T<<Ap as HKT1>::T<A>> = Self>,
See
Sequence