Struct actix_protobuf::ProtoBuf
source · [−]pub struct ProtoBuf<T: Message>(pub T);
Tuple Fields
0: T
Trait Implementations
type Error = Error
type Error = Error
The associated error which can be returned.
Create a Self from request parts asynchronously.
Auto Trait Implementations
impl<T> RefUnwindSafe for ProtoBuf<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for ProtoBuf<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T, P> Resource for T where
T: DerefMut<Target = Path<P>>,
P: ResourcePath,
impl<T, P> Resource for T where
T: DerefMut<Target = Path<P>>,
P: ResourcePath,
type Path = P
type Path = P
Type of resource’s path returned in resource_path
.
pub fn resource_path(&mut self) -> &mut Path<<T as Resource>::Path>
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more