[−][src]Enum seymour_protocol::Response
Responses sent from seymour server
Variants
Acknowledgement for selecting current user
Fields of AckUser
id: i64
Beginning of a list of subscriptions
Must be followed by zero or more Subscription lines and one EndList.
A single subscription entry
Must be preceeded by one StartSubscriptionList and followed by one EndList.
Beginning of a list of feed entries
Must be followed by zero or more Entry lines and one EndList.
A single feed entry
Must be preceeded by one StartEntryList and followed by one EndList.
Ends a list sent by the server
Must be preceeded by at least either a StartSubscriptionList or a StartEntryList.
Acknowledgement for subscribing the current user to a new feed
Acknowledgement for unsubscribing the current user from a feed
Acknowledgement for marking a feed entry as read by the current user
ResourceNotFound(String)
Error stating that the specified resource was not found
BadCommand(String)
Error stating that the command sent was not valid
NeedUser(String)
Error stating that the command sent requires a selected user, but no user has been selected
InternalError(String)
Error stating that the seymour server hit an internal problem while attempting to serve the request
Trait Implementations
impl Display for Response
[src]
impl From<ParseMessageError> for Response
[src]
pub fn from(e: ParseMessageError) -> Response
[src]
impl FromStr for Response
[src]
Auto Trait Implementations
impl RefUnwindSafe for Response
[src]
impl Send for Response
[src]
impl Sync for Response
[src]
impl Unpin for Response
[src]
impl UnwindSafe for Response
[src]
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,
pub 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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,