Struct cassandra_cpp::Inet
source · [−]#[repr(C)]pub struct Inet(_);
Expand description
Cassandra’s version of an IP address
Implementations
sourceimpl Inet
impl Inet
sourcepub fn cass_inet_init_v4(address: &Ipv4Addr) -> Inet
pub fn cass_inet_init_v4(address: &Ipv4Addr) -> Inet
Constructs an inet v4 object.
sourcepub fn cass_inet_init_v6(address: &Ipv6Addr) -> Inet
pub fn cass_inet_init_v6(address: &Ipv6Addr) -> Inet
Constructs an inet v6 object.
Trait Implementations
sourceimpl AsRustType<Inet> for Row<'_>
impl AsRustType<Inet> for Row<'_>
sourceimpl BindRustType<Inet> for Statement
impl BindRustType<Inet> for Statement
impl Copy for Inet
Auto Trait Implementations
impl RefUnwindSafe for Inet
impl Send for Inet
impl Sync for Inet
impl Unpin for Inet
impl UnwindSafe for Inet
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more