Trait segment_rs::command::FromSegmentFrame
source · [−]pub trait FromSegmentFrame: Sized {
fn from_segment_frame(frame: &Frame) -> Result<Self, CommandError>;
}
Expand description
Used to create a value from a Segment frame
Required Methods
sourcefn from_segment_frame(frame: &Frame) -> Result<Self, CommandError>
fn from_segment_frame(frame: &Frame) -> Result<Self, CommandError>
Creates a new value from Segment frame