pub enum Handled {
Response(Response<Vec<u8>>),
NotAcceptable,
NotFound,
}Expand description
What Federation::handle made of a request.
Variants§
Response(Response<Vec<u8>>)
Ojak’s answer.
NotAcceptable
A route of Ojak’s matched, but the request did not ask for ActivityPub: the application serves its page at this URL, or 406.
NotFound
Nothing of Ojak’s is at this URL, or on this host.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Handled
impl !UnwindSafe for Handled
impl Freeze for Handled
impl Send for Handled
impl Sync for Handled
impl Unpin for Handled
impl UnsafeUnpin for Handled
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