Struct cdrs::types::CStringLong [−][src]
pub struct CStringLong { /* fields omitted */ }
Methods
impl CStringLong
[src]
impl CStringLong
pub fn new(string: String) -> CStringLong
[src]
pub fn new(string: String) -> CStringLong
pub fn as_str<'a>(&'a self) -> &'a str
[src]
pub fn as_str<'a>(&'a self) -> &'a str
Converts internal value into pointer of str
.
pub fn into_plain(self) -> String
[src]
pub fn into_plain(self) -> String
Converts internal value into a plain String
.
Trait Implementations
impl Debug for CStringLong
[src]
impl Debug for CStringLong
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CStringLong
[src]
impl Clone for CStringLong
fn clone(&self) -> CStringLong
[src]
fn clone(&self) -> CStringLong
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl IntoBytes for CStringLong
[src]
impl IntoBytes for CStringLong
fn into_cbytes(&self) -> Vec<u8>
[src]
fn into_cbytes(&self) -> Vec<u8>
Converts into Cassandra byte representation of [string]
impl FromCursor for CStringLong
[src]
impl FromCursor for CStringLong
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CStringLong>
[src]
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CStringLong>
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
Auto Trait Implementations
impl Send for CStringLong
impl Send for CStringLong
impl Sync for CStringLong
impl Sync for CStringLong