Trait ToSegmentFrame

Source
pub trait ToSegmentFrame {
    // Required method
    fn to_segment_frame(&self) -> Frame;
}
Expand description

Used to convert a value to a Segment frame

Required Methods§

Source

fn to_segment_frame(&self) -> Frame

Creates a new Segment frame from value

Implementations on Foreign Types§

Source§

impl ToSegmentFrame for &str

Source§

impl ToSegmentFrame for bool

Source§

impl ToSegmentFrame for f32

Source§

impl ToSegmentFrame for f64

Source§

impl ToSegmentFrame for i8

Source§

impl ToSegmentFrame for i16

Source§

impl ToSegmentFrame for i32

Source§

impl ToSegmentFrame for i64

Source§

impl ToSegmentFrame for isize

Source§

impl ToSegmentFrame for u8

Source§

impl ToSegmentFrame for u16

Source§

impl ToSegmentFrame for u32

Source§

impl ToSegmentFrame for u64

Source§

impl ToSegmentFrame for usize

Source§

impl ToSegmentFrame for String

Source§

impl ToSegmentFrame for Bytes

Source§

impl<K: ToSegmentFrame, V: ToSegmentFrame> ToSegmentFrame for HashMap<K, V>

Source§

impl<T: ToSegmentFrame> ToSegmentFrame for Option<T>

Implementors§