[−][src]Struct cassandra_proto::types::CStringLong
Methods
impl CStringLong
[src]
pub fn new(string: String) -> CStringLong
[src]
pub fn as_str<'a>(&'a self) -> &'a str
[src]
Converts internal value into pointer of str
.
pub fn into_plain(self) -> String
[src]
Converts internal value into a plain String
.
Trait Implementations
impl Clone for CStringLong
[src]
fn clone(&self) -> CStringLong
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CStringLong
[src]
impl FromCursor for CStringLong
[src]
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CStringLong>
[src]
from_cursor gets Cursor who's position is set such that it should be a start of a [string]. It reads required number of bytes and returns a String
impl IntoBytes for CStringLong
[src]
fn into_cbytes(&self) -> Vec<u8>
[src]
Converts into Cassandra byte representation of [string]
Auto Trait Implementations
impl RefUnwindSafe for CStringLong
impl Send for CStringLong
impl Sync for CStringLong
impl Unpin for CStringLong
impl UnwindSafe for CStringLong
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,