pub struct Reply {
pub status: Status,
pub text: String,
}
Fields§
§status: Status
§text: String
Implementations§
Source§impl Reply
impl Reply
pub fn from_reader<T>(r: &mut T) -> Result<Self, ParseReplyError>where
T: BufRead,
pub fn from_line(line: String) -> Result<Self, ParseReplyError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more