Enum bolt_proto::message::Message [−][src]
Variants
Init(Init)Run(Run)Record(Record)Success(Success)Failure(Failure)Hello(Hello)RunWithMetadata(RunWithMetadata)Begin(Begin)Discard(Discard)Pull(Pull)Implementations
impl Message[src]
pub async fn from_stream(stream: impl AsyncRead + Unpin) -> Result<Message>[src]
Trait Implementations
impl Clone for Message[src]
impl Debug for Message[src]
impl Eq for Message[src]
impl Marker for Message[src]
fn get_marker(&self) -> Result<u8>[src]
impl PartialEq<Message> for Message[src]
impl Signature for Message[src]
fn get_signature(&self) -> u8[src]
impl StructuralEq for Message[src]
impl StructuralPartialEq for Message[src]
impl TryFrom<Arc<Mutex<Bytes>>> for Message[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(input_arc: Arc<Mutex<Bytes>>) -> Result<Self>[src]
impl TryFrom<Message> for Begin[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Discard[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Failure[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Hello[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Init[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Pull[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Record[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Run[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for RunWithMetadata[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryFrom<Message> for Success[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Self>[src]
impl TryInto<Bytes> for Message[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<Bytes>[src]
impl TryInto<Vec<Bytes, Global>> for Message[src]
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,