Struct v_queue::queue::Queue [−][src]
Fields
base_path: String
is_ready: bool
name: String
ff_queue: File
count_pushed: u32
id: u32
Implementations
impl Queue
[src]
pub fn new(
base_path: &str,
queue_name: &str,
in_mode: Mode
) -> Result<Queue, ErrorQueue>
[src]
base_path: &str,
queue_name: &str,
in_mode: Mode
) -> Result<Queue, ErrorQueue>
pub fn push(
&mut self,
data: &[u8],
in_msg_type: MsgType
) -> Result<u64, ErrorQueue>
[src]
&mut self,
data: &[u8],
in_msg_type: MsgType
) -> Result<u64, ErrorQueue>
pub fn open_part(&mut self, part_id: u32) -> Result<(), ErrorQueue>
[src]
pub fn get_info_queue(&mut self) -> bool
[src]
pub fn get_info_of_part(
&mut self,
part_id: u32,
reopen: bool
) -> Result<(), ErrorQueue>
[src]
&mut self,
part_id: u32,
reopen: bool
) -> Result<(), ErrorQueue>
Auto Trait Implementations
impl RefUnwindSafe for Queue
impl Send for Queue
impl Sync for Queue
impl Unpin for Queue
impl UnwindSafe for Queue
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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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>,